Question d’entretien chez Meta

optimize a function and a js related question.