diff options
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-8.js')
-rw-r--r-- | test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-8.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-8.js b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-8.js index f36b54236..507af757a 100644 --- a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-8.js +++ b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-8.js @@ -9,14 +9,14 @@ description: > property on an Array ---*/ - function callbackfn(val, idx, obj) { - if (idx === 1) { - return val !== 13; - } else { - return true; - } - } +function callbackfn(val, idx, obj) { + if (idx === 1) { + return val !== 13; + } else { + return true; + } +} - Array.prototype[1] = 13; +Array.prototype[1] = 13; assert.sameValue([, , , ].every(callbackfn), false, '[, , , ].every(callbackfn)'); |