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/reduceRight/15.4.4.22-9-c-ii-17.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/reduceRight/15.4.4.22-9-c-ii-17.js')
-rw-r--r-- | test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-c-ii-17.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-c-ii-17.js b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-c-ii-17.js index 0b8e5be99..b2823532e 100644 --- a/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-c-ii-17.js +++ b/test/built-ins/Array/prototype/reduceRight/15.4.4.22-9-c-ii-17.js @@ -9,19 +9,19 @@ description: > iteration is the result of previous iteration on an Array ---*/ - var arr = [11, 12, 13]; - var testResult = true; - var initVal = 6.99; - var preResult = initVal; +var arr = [11, 12, 13]; +var testResult = true; +var initVal = 6.99; +var preResult = initVal; - function callbackfn(prevVal, curVal, idx, obj) { - if (prevVal !== preResult) { - testResult = false; - } - preResult = curVal; - return curVal; - } +function callbackfn(prevVal, curVal, idx, obj) { + if (prevVal !== preResult) { + testResult = false; + } + preResult = curVal; + return curVal; +} - arr.reduceRight(callbackfn, initVal); +arr.reduceRight(callbackfn, initVal); assert(testResult, 'testResult !== true'); |