diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-1-10.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-1-10.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-1-10.js b/test/built-ins/Array/prototype/map/15.4.4.19-1-10.js index abe500666..52eb839eb 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-1-10.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-1-10.js @@ -7,12 +7,12 @@ es5id: 15.4.4.19-1-10 description: Array.prototype.map - applied to the Math object ---*/ - function callbackfn(val, idx, obj) { - return ('[object Math]' === Object.prototype.toString.call(obj)); - } +function callbackfn(val, idx, obj) { + return ('[object Math]' === Object.prototype.toString.call(obj)); +} - Math.length = 1; - Math[0] = 1; - var testResult = Array.prototype.map.call(Math, callbackfn); +Math.length = 1; +Math[0] = 1; +var testResult = Array.prototype.map.call(Math, callbackfn); assert.sameValue(testResult[0], true, 'testResult[0]'); |