summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-3-24.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-3-24.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-3-24.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-3-24.js b/test/built-ins/Array/prototype/map/15.4.4.19-3-24.js
index 829ee0697..870a5631c 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-3-24.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-3-24.js
@@ -9,16 +9,16 @@ description: >
ensure truncation occurs in the proper direction
---*/
- function callbackfn(val, idx, obj) {
- return val < 10;
- }
+function callbackfn(val, idx, obj) {
+ return val < 10;
+}
- var obj = {
- 0: 11,
- 1: 9,
- length: 2.685
- };
+var obj = {
+ 0: 11,
+ 1: 9,
+ length: 2.685
+};
- var newArr = Array.prototype.map.call(obj, callbackfn);
+var newArr = Array.prototype.map.call(obj, callbackfn);
assert.sameValue(newArr.length, 2, 'newArr.length');