diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-3-7.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-3-7.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-3-7.js b/test/built-ins/Array/prototype/map/15.4.4.19-3-7.js index c4b0f1bd4..a5215ce4f 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-3-7.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-3-7.js @@ -9,12 +9,17 @@ description: > number ---*/ - function callbackfn(val, idx, obj) { - return val > 10; - } +function callbackfn(val, idx, obj) { + return val > 10; +} - var obj = { 0: 10, 1: 12, 2: 9, length: -4294967294 }; +var obj = { + 0: 10, + 1: 12, + 2: 9, + length: -4294967294 +}; - var newArr = Array.prototype.map.call(obj, callbackfn); +var newArr = Array.prototype.map.call(obj, callbackfn); assert.sameValue(newArr.length, 0, 'newArr.length'); |