blob: fbe2ed2c811b629c681cdc491093eebbef22ab85 (
plain)
1
2
3
4
5
6
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;
});
};
|