diff options
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5-15-2.js')
-rw-r--r-- | test/built-ins/Function/prototype/bind/15.3.4.5-15-2.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5-15-2.js b/test/built-ins/Function/prototype/bind/15.3.4.5-15-2.js index 19ed95b0d..11cad43ed 100644 --- a/test/built-ins/Function/prototype/bind/15.3.4.5-15-2.js +++ b/test/built-ins/Function/prototype/bind/15.3.4.5-15-2.js @@ -7,11 +7,11 @@ description: > Function.prototype.bind, 'length' is a data valued own property ---*/ - function foo() { } - var o = {}; - - var bf = foo.bind(o); - var desc = Object.getOwnPropertyDescriptor(bf, 'length'); +function foo() {} +var o = {}; + +var bf = foo.bind(o); +var desc = Object.getOwnPropertyDescriptor(bf, 'length'); assert.sameValue(desc.value, 0, 'desc.value'); assert.sameValue(desc.enumerable, false, 'desc.enumerable'); |