diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-3-24.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-3-24.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-3-24.js b/test/built-ins/Array/prototype/some/15.4.4.17-3-24.js index 562d7fdf1..fd95a3234 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-3-24.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-3-24.js @@ -9,20 +9,20 @@ description: > non-integer, ensure truncation occurs in the proper direction ---*/ -function callbackfn1(val, idx, obj) { - return val > 10; -} + function callbackfn1(val, idx, obj) { + return val > 10; + } -function callbackfn2(val, idx, obj) { - return val > 11; -} + function callbackfn2(val, idx, obj) { + return val > 11; + } -var obj = { - 0: 9, - 10: 11, - 11: 12, - length: 11.5 -}; + var obj = { + 0: 9, + 10: 11, + 11: 12, + length: 11.5 + }; assert(Array.prototype.some.call(obj, callbackfn1), 'Array.prototype.some.call(obj, callbackfn1) !== true'); assert.sameValue(Array.prototype.some.call(obj, callbackfn2), false, 'Array.prototype.some.call(obj, callbackfn2)'); |