Question d’entretien chez Nagarro

Javascript arrays and a problem to solve a array coding question.