index.js 187 B

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