mirror of
https://github.com/thangisme/notes.git
synced 2025-09-24 06:14:03 -04:00
Initial commit
This commit is contained in:
7
node_modules/array-differ/index.js
generated
vendored
Normal file
7
node_modules/array-differ/index.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
module.exports = function (arr) {
|
||||
var rest = [].concat.apply([], [].slice.call(arguments, 1));
|
||||
return arr.filter(function (el) {
|
||||
return rest.indexOf(el) === -1;
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user