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