npm-array-remove-duplicates
v1.0.1
Published
Extends the Array.prototype to return a new array without duplicates
Downloads
4
Readme
Introduction
Extends the Array.prototype to return a new array without duplicates
Example
require('npm-array-remove-duplicates');
var a = [1, 11, 3, 3, 7, 7, 11, 51, 3];
var b = a.removeDuplicates();
console.log(b); // [ 1, 11, 3, 7, 51 ]