vlad 6f123ff03e 18.07 | 6 лет назад | |
---|---|---|
.. | ||
index.js | 6 лет назад | |
package.json | 6 лет назад | |
readme.md | 6 лет назад |
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