File size: 187 Bytes
f56a29b | 1 2 3 4 5 6 7 8 | 'use strict';
module.exports = function (arr) {
var rest = [].concat.apply([], [].slice.call(arguments, 1));
return arr.filter(function (el) {
return rest.indexOf(el) === -1;
});
};
|
f56a29b | 1 2 3 4 5 6 7 8 | 'use strict';
module.exports = function (arr) {
var rest = [].concat.apply([], [].slice.call(arguments, 1));
return arr.filter(function (el) {
return rest.indexOf(el) === -1;
});
};
|