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, 7 insertions, 8 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 447d9d617..9a0e9fe66 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,14 +8,13 @@ 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'); |