Remove duplicates from array in Javascript | Algorithm Interview Question
How to Remove Duplicate values from an array of integers. Four solutions, 1 ) One brute-force method using a for loop, 2)sort and remove, 3) using JavaScript Objects and 4) Using ES6 / ES2015 Sets.
source