2

Remove duplicates from an array using Set

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