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 es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss