diff options
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js')
-rw-r--r-- | test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js b/test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js index c13206d98..6850f6d21 100644 --- a/test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js +++ b/test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js @@ -9,12 +9,12 @@ description: > its own property get method ---*/ -function callbackfn(val, idx, obj) { - return obj.length === 3; -} + function callbackfn(val, idx, obj) { + return obj.length === 3; + } -var str = new String("012"); + var str = new String("012"); -var newArr = Array.prototype.filter.call(str, callbackfn); + var newArr = Array.prototype.filter.call(str, callbackfn); assert.sameValue(newArr.length, 3, 'newArr.length'); |