summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-3-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-3-2.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-3-2.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-3-2.js b/test/built-ins/Array/prototype/map/15.4.4.19-3-2.js
index dc6edd021..0dae4ae48 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-3-2.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-3-2.js
@@ -9,12 +9,15 @@ description: >
(length overridden to true(type conversion))
---*/
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
+function callbackfn(val, idx, obj) {
+ return val > 10;
+}
- var obj = { 0: 11, length: true };
+var obj = {
+ 0: 11,
+ length: true
+};
- var newArr = Array.prototype.map.call(obj, callbackfn);
+var newArr = Array.prototype.map.call(obj, callbackfn);
assert.sameValue(newArr.length, 1, 'newArr.length');