You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
307 B
JavaScript
10 lines
307 B
JavaScript
var restArguments = require('./restArguments.js');
|
|
var difference = require('./difference.js');
|
|
|
|
// Return a version of the array that does not contain the specified value(s).
|
|
var without = restArguments(function(array, otherArrays) {
|
|
return difference(array, otherArrays);
|
|
});
|
|
|
|
module.exports = without;
|