Array.some seem to work incorrectly in IE8.
[2,4,6].some( function(v) { return v%2 === 0 } );
// expected: true
// result: false
I'm trying to understand the array.some code
proto.some = function some (lambda) {
// arguments[+1] is to fool google closure compiler into NOT adding a function argument!
return array.iterate(this, lambda, function (val) { return !val; }, arguments[+1]);
};
My concern is around the function after lambda which returns !val. Any clue?