rm-array-duplicates
v1.1.1
Published
Removes Duplicates Array Entries
Downloads
1
Readme
Removes Duplicates Array Entries
Sample usage:
// For the require statement
const removeArrayDuplicates = require("rm-array-duplicates");
//OR using npm install
npm install rm-array-duplicates --save
let myNums = [1, 2, 3, 1, 4, 1, 2, 5, 3, 4];
let uniqueNums = removeArrayDuplicates(myNums);
console.log(uniqueNums);