Adding a non-class-syntax method for subclassing native objects
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...
More information about the es-discuss