summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-2-13.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-2-13.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-2-13.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-2-13.js b/test/built-ins/Array/prototype/map/15.4.4.19-2-13.js
index 6c59cd21a..756b3754f 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-2-13.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-2-13.js
@@ -9,23 +9,23 @@ description: >
'length' is inherited accessor property without a get function
---*/
- function callbackfn(val, idx, obj) {
- return val > 10;
- }
+function callbackfn(val, idx, obj) {
+ return val > 10;
+}
- var proto = {};
- Object.defineProperty(proto, "length", {
- set: function () { },
- configurable: true
- });
+var proto = {};
+Object.defineProperty(proto, "length", {
+ set: function() {},
+ configurable: true
+});
- var Con = function () { };
- Con.prototype = proto;
+var Con = function() {};
+Con.prototype = proto;
- var child = new Con();
- child[0] = 11;
- child[1] = 12;
+var child = new Con();
+child[0] = 11;
+child[1] = 12;
- var testResult = Array.prototype.map.call(child, callbackfn);
+var testResult = Array.prototype.map.call(child, callbackfn);
assert.sameValue(testResult.length, 0, 'testResult.length');