without.js 307 B

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