2

Remove duplicates from an array using Set

Function JavaScript 2 revisions 419 a year ago a year ago
const removeDuplicates = arr => [...new Set(arr)];