summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-15 15:49:19 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 15:49:19 -0500
commit1b30a976e820f76cf6ae6666f1a5d2b19e798944 (patch)
tree9a76fb041493c1cb56b796ec20a0a98c054e568b /test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js
parentf5746805956b572ddd2e6e9081a6505b445998a9 (diff)
downloadqtdeclarative-testsuites-1b30a976e820f76cf6ae6666f1a5d2b19e798944.tar.gz
built-ins/Function/*: make all indentation consistent (depth & character) (#1424)
This intentionally skips test/built-ins/Function/prototype/toString/*
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js')
-rw-r--r--test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js
index 2e90afd02..a541eaaad 100644
--- a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js
+++ b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-7.js
@@ -8,12 +8,14 @@ description: >
'boundArgs' is 1, length of 'ExtraArgs' is 0, and with 'boundThis'
---*/
- var obj = { prop: "abc" };
+var obj = {
+ prop: "abc"
+};
- var func = function () {
- return this === obj && arguments[0] === 1;
- };
+var func = function() {
+ return this === obj && arguments[0] === 1;
+};
- var newFunc = Function.prototype.bind.call(func, obj, 1);
+var newFunc = Function.prototype.bind.call(func, obj, 1);
assert(newFunc(), 'newFunc() !== true');