summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-09 11:35:37 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-09 11:35:37 -0500
commita01de4a722d088055a7d84d8c691ddd7109edb34 (patch)
treef583c8efd40a3b699261f1166da75a9861d83e7b /test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js
parent7b01f9799f99851955f23c18c12e6651c1941022 (diff)
downloadqtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js b/test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js
index ddb585762..96f50c481 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-8-c-ii-20.js
@@ -9,14 +9,20 @@ description: >
(thisArg is correct)
---*/
- function callbackfn(val, idx, obj) {
- return this.threshold === 10;
- }
+function callbackfn(val, idx, obj) {
+ return this.threshold === 10;
+}
- var thisArg = { threshold: 10 };
+var thisArg = {
+ threshold: 10
+};
- var obj = { 0: 11, 1: 9, length: 2 };
+var obj = {
+ 0: 11,
+ 1: 9,
+ length: 2
+};
- var testResult = Array.prototype.map.call(obj, callbackfn, thisArg);
+var testResult = Array.prototype.map.call(obj, callbackfn, thisArg);
assert.sameValue(testResult[0], true, 'testResult[0]');