diff options
Diffstat (limited to 'test/built-ins/Array/prototype/every/15.4.4.16-3-25.js')
-rw-r--r-- | test/built-ins/Array/prototype/every/15.4.4.16-3-25.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/every/15.4.4.16-3-25.js b/test/built-ins/Array/prototype/every/15.4.4.16-3-25.js index 3d052320a..d6a174f87 100644 --- a/test/built-ins/Array/prototype/every/15.4.4.16-3-25.js +++ b/test/built-ins/Array/prototype/every/15.4.4.16-3-25.js @@ -7,20 +7,20 @@ es5id: 15.4.4.16-3-25 description: Array.prototype.every - value of 'length' is a negative non-integer ---*/ - function callbackfn1(val, idx, obj) { - return val > 10; - } +function callbackfn1(val, idx, obj) { + return val > 10; +} - function callbackfn2(val, idx, obj) { - return val > 11; - } +function callbackfn2(val, idx, obj) { + return val > 11; +} - var obj = { - 0: 12, - 1: 11, - 2: 9, - length: -4294967294.5 - }; +var obj = { + 0: 12, + 1: 11, + 2: 9, + length: -4294967294.5 +}; assert(Array.prototype.every.call(obj, callbackfn1), 'Array.prototype.every.call(obj, callbackfn1) !== true'); assert(Array.prototype.every.call(obj, callbackfn2), 'Array.prototype.every.call(obj, callbackfn2) !== true'); |