some: function some(fn) {
anObject(this);
aFunction(fn);
- return iterate(this, function (value) {
- if (fn(value)) return iterate.stop();
- }, undefined, false, true).stopped;
+ return iterate(this, function (value, stop) {
+ if (fn(value)) return stop();
+ }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped;
}
});