diff options
Diffstat (limited to 'test/built-ins/Array/prototype/reduce/15.4.4.21-3-25.js')
-rw-r--r-- | test/built-ins/Array/prototype/reduce/15.4.4.21-3-25.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/reduce/15.4.4.21-3-25.js b/test/built-ins/Array/prototype/reduce/15.4.4.21-3-25.js index 5a8f54239..352c988a0 100644 --- a/test/built-ins/Array/prototype/reduce/15.4.4.21-3-25.js +++ b/test/built-ins/Array/prototype/reduce/15.4.4.21-3-25.js @@ -9,14 +9,14 @@ description: > non-integer ---*/ -function callbackfn(prevVal, curVal, idx, obj) { - return (curVal === 11 && idx === 1); -} + function callbackfn(prevVal, curVal, idx, obj) { + return (curVal === 11 && idx === 1); + } -var obj = { - 1: 11, - 2: 9, - length: -4294967294.5 -}; + var obj = { + 1: 11, + 2: 9, + length: -4294967294.5 + }; assert.sameValue(Array.prototype.reduce.call(obj, callbackfn, 1), 1, 'Array.prototype.reduce.call(obj, callbackfn, 1)'); |