mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Remove arity hint from lazy reject.
This commit is contained in:
@@ -16421,10 +16421,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
LazyWrapper.prototype.reject = function(predicate) {
|
LazyWrapper.prototype.reject = function(predicate) {
|
||||||
predicate = getIteratee(predicate, 3);
|
return this.filter(negate(getIteratee(predicate)));
|
||||||
return this.filter(function(value) {
|
|
||||||
return !predicate(value);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
LazyWrapper.prototype.slice = function(start, end) {
|
LazyWrapper.prototype.slice = function(start, end) {
|
||||||
|
|||||||
Reference in New Issue
Block a user