diff options
Diffstat (limited to 'test/built-ins/Proxy/construct/return-not-object-throws-boolean.js')
-rw-r--r-- | test/built-ins/Proxy/construct/return-not-object-throws-boolean.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Proxy/construct/return-not-object-throws-boolean.js b/test/built-ins/Proxy/construct/return-not-object-throws-boolean.js index 0edd139a8..5c40d5c8c 100644 --- a/test/built-ins/Proxy/construct/return-not-object-throws-boolean.js +++ b/test/built-ins/Proxy/construct/return-not-object-throws-boolean.js @@ -11,14 +11,14 @@ info: | ---*/ function Target() { - this.attr = "done"; + this.attr = "done"; }; var P = new Proxy(Target, { - construct: function() { - return true; - } + construct: function() { + return true; + } }); assert.throws(TypeError, function() { - new P(); + new P(); }); |