diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-5-19.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-5-19.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-5-19.js b/test/built-ins/Array/prototype/map/15.4.4.19-5-19.js index c2740c110..2da89ea4f 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-5-19.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-5-19.js @@ -7,16 +7,16 @@ es5id: 15.4.4.19-5-19 description: Array.prototype.map - the Arguments object can be used as thisArg ---*/ -var arg; + var arg; -function callbackfn(val, idx, obj) { - return this === arg; -} + function callbackfn(val, idx, obj) { + return this === arg; + } -arg = (function() { - return arguments; -}(1, 2, 3)); + arg = (function () { + return arguments; + }(1, 2, 3)); -var testResult = [11].map(callbackfn, arg); + var testResult = [11].map(callbackfn, arg); assert.sameValue(testResult[0], true, 'testResult[0]'); |