>
> 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?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss