summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js')
-rw-r--r--test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js b/test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js
index 73ecc9ed1..563ef3bfc 100644
--- a/test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js
+++ b/test/built-ins/Array/prototype/filter/15.4.4.20-2-4.js
@@ -9,14 +9,14 @@ description: >
overrides an inherited data property on an Array
---*/
-var arrProtoLen;
+ var arrProtoLen;
-function callbackfn(val, idx, obj) {
- return obj.length === 2;
-}
+ function callbackfn(val, idx, obj) {
+ return obj.length === 2;
+ }
-arrProtoLen = Array.prototype.length;
-Array.prototype.length = 0;
-var newArr = [12, 11].filter(callbackfn);
+ arrProtoLen = Array.prototype.length;
+ Array.prototype.length = 0;
+ var newArr = [12, 11].filter(callbackfn);
assert.sameValue(newArr.length, 2, 'newArr.length');