Doctolib interview question

Exercises mainly with the javascript language