diff options
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5.1-4-2.js')
-rw-r--r-- | test/built-ins/Function/prototype/bind/15.3.4.5.1-4-2.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-2.js b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-2.js index 329b1e78c..77ad47716 100644 --- a/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-2.js +++ b/test/built-ins/Function/prototype/bind/15.3.4.5.1-4-2.js @@ -9,12 +9,14 @@ description: > when 'F' is called ---*/ - var obj = { "prop": "a" }; +var obj = { + "prop": "a" +}; - var func = function () { - return this; - }; +var func = function() { + return this; +}; - var newFunc = Function.prototype.bind.call(func, obj); +var newFunc = Function.prototype.bind.call(func, obj); assert.sameValue(newFunc(), obj, 'newFunc()'); |