🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
7 lines
151 B
JavaScript
Executable File
7 lines
151 B
JavaScript
Executable File
'use strict';
|
|
|
|
module.exports = function reject(fn) {
|
|
return new this.constructor(this.items).filter(function (item) {
|
|
return !fn(item);
|
|
});
|
|
}; |