Accesssing ES6 class constructor function

Don Griffin don at
Thu Jan 5 22:08:13 UTC 2017

Hi Logan,

> So we're all on the same page, this restriction exists because it
> means `class` syntax can extend builtin types like `Map`, `Set`,
> Array` and `Error` and such, which cannot be extended (with
> correct functionality anyway) in standard ES5

That makes sense for built-ins, but is there some reason this enforcement
cannot be applied for those constructors (perhaps *by* them) and not *all*

(btw - thanks for explaining the point of this - I was not aware of that)

Don Griffin
Director of Engineering
Sencha, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list