summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js')
-rw-r--r--test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js b/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js
index 17ead0e57..18af4d7ac 100644
--- a/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js
+++ b/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-6.js
@@ -9,17 +9,17 @@ description: >
property that overrides an inherited accessor property on an Array
---*/
-function callbackfn(val, idx, obj) {
- return val === 11;
-}
+ function callbackfn(val, idx, obj) {
+ return val === 11;
+ }
-Object.defineProperty(Array.prototype, "0", {
- get: function() {
- return 9;
- },
- configurable: true
-});
-var newArr = [11].filter(callbackfn);
+ Object.defineProperty(Array.prototype, "0", {
+ get: function () {
+ return 9;
+ },
+ configurable: true
+ });
+ var newArr = [11].filter(callbackfn);
assert.sameValue(newArr.length, 1, 'newArr.length');
assert.sameValue(newArr[0], 11, 'newArr[0]');