diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-5-23.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-5-23.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-5-23.js b/test/built-ins/Array/prototype/map/15.4.4.19-5-23.js index 29f99094a..8e7ee9835 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-5-23.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-5-23.js @@ -7,10 +7,10 @@ es5id: 15.4.4.19-5-23 description: Array.prototype.map - number primitive can be used as thisArg ---*/ - function callbackfn(val, idx, obj) { - return this.valueOf() === 101; - } +function callbackfn(val, idx, obj) { + return this.valueOf() === 101; +} - var testResult = [11].map(callbackfn, 101); +var testResult = [11].map(callbackfn, 101); assert.sameValue(testResult[0], true, 'testResult[0]'); |