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