2

Remove duplicates from an array using Set

Function JavaScript 2 revisions 300 8 months ago 8 months ago
const removeDuplicates = arr => [...new Set(arr)];