reduce-array-unique
v0.1.1
Published
reduce-array-unique, 函数式编程下的数组去重
Downloads
2
Readme
#reduce-array-unique
这是运用 es6 + 函数式编程书写的数组去重方法
##Install
npm install -g reduce-array-unique
// local
npm install --save reduce-array-unique
##Usage
const unique = require('reduce-array-unique')
console.log(unique([1, 2, 3], [3, 4, 5], [4, 5, 6]))
// [ 1, 2, 3, 4, 5, 6 ]