mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
update
This commit is contained in:
8
node_modules/array-differ/index.js
generated
vendored
Normal file
8
node_modules/array-differ/index.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
const arrayDiffer = (array, ...values) => {
|
||||
const rest = new Set([].concat(...values));
|
||||
return array.filter(element => !rest.has(element));
|
||||
};
|
||||
|
||||
module.exports = arrayDiffer;
|
Reference in New Issue
Block a user