11 lines
299 B
JavaScript
Raw Permalink Normal View History

2025-04-23 09:34:08 +08:00
define(['./restArguments', './difference'], function (restArguments, difference) {
// Return a version of the array that does not contain the specified value(s).
var without = restArguments(function(array, otherArrays) {
return difference(array, otherArrays);
});
return without;
});