without.js 299 B

12345678910
  1. define(['./restArguments', './difference'], function (restArguments, difference) {
  2. // Return a version of the array that does not contain the specified value(s).
  3. var without = restArguments(function(array, otherArrays) {
  4. return difference(array, otherArrays);
  5. });
  6. return without;
  7. });