Hi, the current definition of [[Construct]] doesn't allow to create non-constructable objects, but instead just invokes the call handler. On easy hackaround would be to check if the constructhandler has a [[Construct]] internal method. Then you could create non constructable Functions like this:
Proxy.createFunction({}, function () {}, parseInt);
Cheers,
Tom
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

