summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js')
-rw-r--r--test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js b/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js
index d2d1fd70c..150eda57c 100644
--- a/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js
+++ b/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-5.js
@@ -9,26 +9,26 @@ description: >
current position are visited on an Array
---*/
-function callbackfn(val, idx, obj) {
- return true;
-}
+ function callbackfn(val, idx, obj) {
+ return true;
+ }
-var arr = [0, , 2];
+ var arr = [0, , 2];
-Object.defineProperty(arr, "0", {
- get: function() {
- Object.defineProperty(arr, "1", {
- get: function() {
- return 6.99;
- },
- configurable: true
- });
- return 0;
- },
- configurable: true
-});
+ Object.defineProperty(arr, "0", {
+ get: function () {
+ Object.defineProperty(arr, "1", {
+ get: function () {
+ return 6.99;
+ },
+ configurable: true
+ });
+ return 0;
+ },
+ configurable: true
+ });
-var newArr = arr.filter(callbackfn);
+ var newArr = arr.filter(callbackfn);
assert.sameValue(newArr.length, 3, 'newArr.length');
assert.sameValue(newArr[1], 6.99, 'newArr[1]');