A new ES6 draft is available

Kevin Smith zenparsing at gmail.com
Fri Jan 16 11:40:59 PST 2015

> Changes include: Updated specification to use and support the new built-in
> subclassing scheme described at:
> https://github.com/tc39/ecma262/blob/master/workingdocs/ES6-super-construct%3Dproposal.md

This looks nice.  An interesting question:

For classes that have divergent [[Construct]]/[[Call]] behavior, should the
[[Call]] behavior be "inherited" by derived classes?

    class MyDate extends Date {}
    console.log(MyDate(1, 2, 3));  A string, or throw an error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150116/3c7da9a3/attachment.html>

More information about the es-discuss mailing list