Question d’entretien chez Magic Software

They were mainly focused on JS, OOPS concept in javascript. How to filter the duplicates from an array,