login/node_modules/underscore/amd/without.js
2022-12-19 15:48:51 +05:30

10 lines
299 B
JavaScript

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;
});