summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-15 17:40:02 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 17:40:02 -0500
commitafa24856b4b9bc00315b3e47745187d33c471406 (patch)
tree67cd06d1c673f9eecaa54abb6ee6a4248c40256c /test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js
parent0bf08dff3d83f97143580c50072bd413c46ef23c (diff)
downloadqtdeclarative-testsuites-afa24856b4b9bc00315b3e47745187d33c471406.tar.gz
built-ins/Array/*: make all indentation consistent (depth & character) (#1415)
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js23
1 files changed, 13 insertions, 10 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js
index b1474e751..22d73e78b 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js
@@ -9,17 +9,20 @@ description: >
consistent
---*/
- var result = false;
- var obj = { 0: 11, length: 1 };
- var thisArg = {};
+var result = false;
+var obj = {
+ 0: 11,
+ length: 1
+};
+var thisArg = {};
- function callbackfn() {
- result = (this === thisArg &&
- arguments[0] === 11 &&
- arguments[1] === 0 &&
- arguments[2] === obj);
- }
+function callbackfn() {
+ result = (this === thisArg &&
+ arguments[0] === 11 &&
+ arguments[1] === 0 &&
+ arguments[2] === obj);
+}
- Array.prototype.forEach.call(obj, callbackfn, thisArg);
+Array.prototype.forEach.call(obj, callbackfn, thisArg);
assert(result, 'result !== true');