diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-09 11:35:37 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-09 11:35:37 -0500 |
commit | a01de4a722d088055a7d84d8c691ddd7109edb34 (patch) | |
tree | f583c8efd40a3b699261f1166da75a9861d83e7b /test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js | |
parent | 7b01f9799f99851955f23c18c12e6651c1941022 (diff) | |
download | qtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz |
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js')
-rw-r--r-- | test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js index 7bf828719..ca2a6f902 100644 --- a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js +++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-i-28.js @@ -9,35 +9,35 @@ description: > iterations is observed on an Array ---*/ - var preIterVisible = false; - var arr = []; - var testResult = false; +var preIterVisible = false; +var arr = []; +var testResult = false; - function callbackfn(val, idx, obj) { - if (idx === 1) { - testResult = (val === 9); - } - } +function callbackfn(val, idx, obj) { + if (idx === 1) { + testResult = (val === 9); + } +} - Object.defineProperty(arr, "0", { - get: function () { - preIterVisible = true; - return 11; - }, - configurable: true - }); +Object.defineProperty(arr, "0", { + get: function() { + preIterVisible = true; + return 11; + }, + configurable: true +}); - Object.defineProperty(arr, "1", { - get: function () { - if (preIterVisible) { - return 9; - } else { - return 13; - } - }, - configurable: true - }); +Object.defineProperty(arr, "1", { + get: function() { + if (preIterVisible) { + return 9; + } else { + return 13; + } + }, + configurable: true +}); - arr.forEach(callbackfn); +arr.forEach(callbackfn); assert(testResult, 'testResult !== true'); |