diff options
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js')
-rw-r--r-- | test/built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js index 559925a69..fff7c361c 100644 --- a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js +++ b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-ii-1.js @@ -7,13 +7,13 @@ es5id: 15.4.4.16-7-c-ii-1 description: Array.prototype.every - callbackfn called with correct parameters ---*/ - function callbackfn(val, Idx, obj) - { - if(obj[Idx] === val) - return true; - } +function callbackfn(val, Idx, obj) +{ + if (obj[Idx] === val) + return true; +} - var arr = [0,1,2,3,4,5,6,7,8,9]; +var arr = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; assert.sameValue(arr.every(callbackfn), true, 'arr.every(callbackfn)'); |