Question d’entretien chez Metafic

remove duplicates from an array solve using javaScript