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