summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js')
-rw-r--r--test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js b/test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js
index 085e9545e..217c01c90 100644
--- a/test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js
+++ b/test/built-ins/Function/prototype/bind/15.3.4.5.2-4-7.js
@@ -8,12 +8,12 @@ description: >
'boundArgs' is 0, length of 'ExtraArgs' is 1
---*/
- var func = function () {
- return new Boolean(arguments.length === 1 && arguments[0] === 1);
- };
+var func = function() {
+ return new Boolean(arguments.length === 1 && arguments[0] === 1);
+};
- var NewFunc = Function.prototype.bind.call(func, {});
+var NewFunc = Function.prototype.bind.call(func, {});
- var newInstance = new NewFunc(1);
+var newInstance = new NewFunc(1);
assert.sameValue(newInstance.valueOf(), true, 'newInstance.valueOf()');