diff options
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-1-4.js')
-rw-r--r-- | test/built-ins/Array/prototype/map/15.4.4.19-1-4.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-1-4.js b/test/built-ins/Array/prototype/map/15.4.4.19-1-4.js index 0fd3c3f00..82e9e614e 100644 --- a/test/built-ins/Array/prototype/map/15.4.4.19-1-4.js +++ b/test/built-ins/Array/prototype/map/15.4.4.19-1-4.js @@ -7,16 +7,16 @@ es5id: 15.4.4.19-1-4 description: Array.prototype.map - applied to Boolean object ---*/ - function callbackfn(val, idx, obj) { - return obj instanceof Boolean; - } +function callbackfn(val, idx, obj) { + return obj instanceof Boolean; +} - var obj = new Boolean(true); - obj.length = 2; - obj[0] = 11; - obj[1] = 12; +var obj = new Boolean(true); +obj.length = 2; +obj[0] = 11; +obj[1] = 12; - var testResult = Array.prototype.map.call(obj, callbackfn); +var testResult = Array.prototype.map.call(obj, callbackfn); assert.sameValue(testResult[0], true, 'testResult[0]'); assert.sameValue(testResult[1], true, 'testResult[1]'); |