diff options
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-16.js')
-rw-r--r-- | test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-16.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-16.js b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-16.js index 20a274180..c249d76b1 100644 --- a/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-16.js +++ b/test/built-ins/Array/prototype/every/15.4.4.16-7-c-i-16.js @@ -9,19 +9,19 @@ description: > accessor property on an Array ---*/ - function callbackfn(val, idx, obj) { - if (idx === 0) { - return val !== 11; - } else { - return true; - } - } +function callbackfn(val, idx, obj) { + if (idx === 0) { + return val !== 11; + } else { + return true; + } +} - Object.defineProperty(Array.prototype, "0", { - get: function () { - return 11; - }, - configurable: true - }); +Object.defineProperty(Array.prototype, "0", { + get: function() { + return 11; + }, + configurable: true +}); assert.sameValue([, , , ].every(callbackfn), false, '[, , , ].every(callbackfn)'); |