summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-1-11.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-1-11.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-1-11.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-1-11.js b/test/built-ins/Array/prototype/map/15.4.4.19-1-11.js
index 485851119..bf14fa9a5 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-1-11.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-1-11.js
@@ -7,14 +7,14 @@ es5id: 15.4.4.19-1-11
description: Array.prototype.map - applied to Date object
---*/
-function callbackfn(val, idx, obj) {
- return obj instanceof Date;
-}
+ function callbackfn(val, idx, obj) {
+ return obj instanceof Date;
+ }
-var obj = new Date();
-obj.length = 1;
-obj[0] = 1;
+ var obj = new Date();
+ obj.length = 1;
+ obj[0] = 1;
-var testResult = Array.prototype.map.call(obj, callbackfn);
+ var testResult = Array.prototype.map.call(obj, callbackfn);
assert.sameValue(testResult[0], true, 'testResult[0]');