Question d’entretien chez RLDatix

solve an basic algorithm in JavaScript