diff options
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5-15-5.js')
-rw-r--r-- | test/built-ins/Function/prototype/bind/15.3.4.5-15-5.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5-15-5.js b/test/built-ins/Function/prototype/bind/15.3.4.5-15-5.js index 9a0e9fe66..447d9d617 100644 --- a/test/built-ins/Function/prototype/bind/15.3.4.5-15-5.js +++ b/test/built-ins/Function/prototype/bind/15.3.4.5-15-5.js @@ -8,13 +8,14 @@ description: > property in F set as true ---*/ - var canConfigurable = false; - var hasProperty = false; - function foo() { } - var obj = foo.bind({}); - hasProperty = obj.hasOwnProperty("length"); - delete obj.length; - canConfigurable = !obj.hasOwnProperty("length"); +var canConfigurable = false; +var hasProperty = false; + +function foo() {} +var obj = foo.bind({}); +hasProperty = obj.hasOwnProperty("length"); +delete obj.length; +canConfigurable = !obj.hasOwnProperty("length"); assert(hasProperty, 'hasProperty !== true'); assert(canConfigurable, 'canConfigurable !== true'); |