Adding a non-class-syntax method for subclassing native objects

Renki Ivanko fatalis.erratum at gmail.com
Thu May 5 15:53:34 UTC 2016


It would be helpful to have the MakeConstructor operation implemented as
`Reflect.makeConstructor(F, writablePrototype, prototype)`, since otherwise
the alternative to the `class extends` syntax is very verbose. It would
also be consistent with the `Reflect.construct()` method corresponding to
the Construct abstract operation, and `Object.create()` mainly
corresponding to ObjectCreate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160505/69dda9d0/attachment.html>


More information about the es-discuss mailing list