diff options
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5.1-4-8.js')
-rw-r--r-- | test/built-ins/Function/prototype/bind/15.3.4.5.1-4-8.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-8.js b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-8.js index 7203696e8..405ece18f 100644 --- a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-8.js +++ b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-8.js @@ -8,12 +8,14 @@ description: > 'boundArgs' is 0, length of 'ExtraArgs' is 1, 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); +var newFunc = Function.prototype.bind.call(func, obj); assert(newFunc(1), 'newFunc(1) !== true'); |