diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-2.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-7-2.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-2.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-2.js index 8429933e0..117aeb738 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-7-2.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-2.js @@ -9,16 +9,16 @@ description: > after it is called ---*/ - function callbackfn(val, idx, obj) - { - arr[4] = 6; - if(val < 6) - return false; - else - return true; - } +function callbackfn(val, idx, obj) +{ + arr[4] = 6; + if (val < 6) + return false; + else + return true; +} - var arr = [1,2,3,4,5]; +var arr = [1, 2, 3, 4, 5]; assert.sameValue(arr.some(callbackfn), true, 'arr.some(callbackfn)'); |