summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-3-19.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-3-19.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-3-19.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-3-19.js b/test/built-ins/Array/prototype/map/15.4.4.19-3-19.js
index 4a181897f..2f5e2b414 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-3-19.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-3-19.js
@@ -9,21 +9,21 @@ description: >
own toString method
---*/
- function callbackfn(val, idx, obj) {
- return val < 10;
- }
+function callbackfn(val, idx, obj) {
+ return val < 10;
+}
- var obj = {
- 0: 11,
- 1: 9,
+var obj = {
+ 0: 11,
+ 1: 9,
- length: {
- toString: function () {
- return '2';
- }
- }
- };
+ length: {
+ toString: function() {
+ return '2';
+ }
+ }
+};
- var newArr = Array.prototype.map.call(obj, callbackfn);
+var newArr = Array.prototype.map.call(obj, callbackfn);
assert.sameValue(newArr.length, 2, 'newArr.length');