diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-8.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-8.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-8.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-8.js index 7fdcc8816..fb71d4fc7 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-8.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-8.js @@ -9,15 +9,15 @@ description: > property on an Array ---*/ - var kValue = {}; +var kValue = {}; - function callbackfn(val, idx, obj) { - if (0 === idx) { - return kValue === val; - } - return false; - } +function callbackfn(val, idx, obj) { + if (0 === idx) { + return kValue === val; + } + return false; +} - Array.prototype[0] = kValue; +Array.prototype[0] = kValue; assert([, ].some(callbackfn), '[, ].some(callbackfn) !== true'); |