reject.js 264 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 define(['./filter', './negate', './_cb'], function (filter, negate, _cb) { // Return all the elements for which a truth test fails. function reject(obj, predicate, context) { return filter(obj, negate(_cb(predicate)), context); } return reject; });