84296428d40cd3c8d9dc411d3abdc240712ab218
[platform/framework/web/crosswalk-tizen.git] /
1 define(['./filter', '../function/makeIterator_'], function (filter, makeIterator) {
2
3     /**
4      * Object reject
5      */
6     function reject(obj, callback, thisObj) {
7         callback = makeIterator(callback, thisObj);
8         return filter(obj, function(value, index, obj) {
9             return !callback(value, index, obj);
10         }, thisObj);
11     }
12
13     return reject;
14
15 });