diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-3-28.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-3-28.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-3-28.js b/test/built-ins/Array/prototype/map/15.4.4.19-3-28.js index 4c0c98486..b4c3e3b31 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-3-28.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-3-28.js @@ -7,14 +7,14 @@ es5id: 15.4.4.19-3-28 description: Array.prototype.map - value of 'length' is boundary value (2^32) ---*/ - function callbackfn(val, idx, obj) { - return val > 10; - } +function callbackfn(val, idx, obj) { + return val > 10; +} - var obj = { - 0: 12, - length: 4294967296 - }; +var obj = { + 0: 12, + length: 4294967296 +}; assert.throws(RangeError, function() { - var newArr = Array.prototype.map.call(obj, callbackfn); + var newArr = Array.prototype.map.call(obj, callbackfn); }); |