Question d’entretien chez TATA ELXSI

es6 problem to find duplicate elements in an array