JS memfilter ganda

array.filter((value, index) => array.indexOf(value) === index)
Adventurous Albatross