|
|
il y a 7 ans | |
|---|---|---|
| .. | ||
| index.js | il y a 7 ans | |
| package.json | il y a 7 ans | |
| readme.md | il y a 7 ans | |
Create an array with values that are present in the first input array but not additional ones
$ npm install --save array-differ
var arrayDiffer = require('array-differ');
arrayDiffer([2, 3, 4], [3, 50]);
//=> [2, 4]
Returns the new array.
Type: array
Type: array
Arrays of values to exclude.
MIT © Sindre Sorhus