Kevin 29b9a0c50c clean && clean html base | 4 years ago | |
---|---|---|
.. | ||
index.js | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago |
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