diff options
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-18.js')
-rw-r--r-- | test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-18.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-18.js b/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-18.js index b139b96a6..3cfc401b9 100644 --- a/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-18.js +++ b/test/built-ins/Array/prototype/filter/15.4.4.20-9-c-i-18.js @@ -9,18 +9,18 @@ description: > property without a get function on an Array ---*/ -function callbackfn(val, idx, obj) { - return undefined === val && idx === 0; -} + function callbackfn(val, idx, obj) { + return undefined === val && idx === 0; + } -var arr = []; + var arr = []; -Object.defineProperty(arr, "0", { - set: function() {}, - configurable: true -}); + Object.defineProperty(arr, "0", { + set: function () { }, + configurable: true + }); -var newArr = arr.filter(callbackfn); + var newArr = arr.filter(callbackfn); assert.sameValue(newArr.length, 1, 'newArr.length'); assert.sameValue(newArr[0], undefined, 'newArr[0]'); |