| Index: src/proxy.js
|
| diff --git a/src/proxy.js b/src/proxy.js
|
| index 53a35724748b56e4c147b83918f5ca8283045e8c..824822d40dfd6327264587c0b5803da709a8040d 100644
|
| --- a/src/proxy.js
|
| +++ b/src/proxy.js
|
| @@ -77,8 +77,7 @@ function DerivedConstructTrap(callTrap) {
|
| return function() {
|
| var proto = this.prototype
|
| if (!IS_SPEC_OBJECT(proto)) proto = $Object.prototype
|
| - var obj = new $Object()
|
| - obj.__proto__ = proto
|
| + var obj = { __proto__: proto };
|
| var result = %Apply(callTrap, obj, arguments, 0, %_ArgumentsLength());
|
| return IS_SPEC_OBJECT(result) ? result : obj
|
| }
|
|
|