summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js')
-rw-r--r--test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js b/test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js
index ef11a8172..68c19c6a6 100644
--- a/test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js
+++ b/test/built-ins/Array/prototype/filter/15.4.4.20-2-1.js
@@ -9,17 +9,17 @@ description: >
own data property
---*/
- function callbackfn(val, idx, obj) {
- return obj.length === 2;
- }
+function callbackfn(val, idx, obj) {
+ return obj.length === 2;
+}
- var obj = {
- 0: 12,
- 1: 11,
- 2: 9,
- length: 2
- };
+var obj = {
+ 0: 12,
+ 1: 11,
+ 2: 9,
+ length: 2
+};
- var newArr = Array.prototype.filter.call(obj, callbackfn);
+var newArr = Array.prototype.filter.call(obj, callbackfn);
assert.sameValue(newArr.length, 2, 'newArr.length');