diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 17:40:02 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 17:40:02 -0500 |
commit | afa24856b4b9bc00315b3e47745187d33c471406 (patch) | |
tree | 67cd06d1c673f9eecaa54abb6ee6a4248c40256c /test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js | |
parent | 0bf08dff3d83f97143580c50072bd413c46ef23c (diff) | |
download | qtdeclarative-testsuites-afa24856b4b9bc00315b3e47745187d33c471406.tar.gz |
built-ins/Array/*: make all indentation consistent (depth & character) (#1415)
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js index 9c926f28a..451d0b3d3 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-ii-8.js @@ -9,13 +9,17 @@ description: > iterations is observed ---*/ - function callbackfn(val, idx, obj) { - if (idx === 0) { - obj[idx + 1] = 11; - } - return val > 10; - } +function callbackfn(val, idx, obj) { + if (idx === 0) { + obj[idx + 1] = 11; + } + return val > 10; +} - var obj = { 0: 9, 1: 8, length: 2 }; +var obj = { + 0: 9, + 1: 8, + length: 2 +}; assert(Array.prototype.some.call(obj, callbackfn), 'Array.prototype.some.call(obj, callbackfn) !== true'); |