Will any new features be tied to constructors?

Anne van Kesteren annevk at annevk.nl
Wed Jul 1 07:56:42 UTC 2015


On Wed, Jul 1, 2015 at 2:54 AM, Domenic Denicola <d at domenic.me> wrote:
> Stated another way, which might be a bit stronger: will it be *lexically* required that private state initialization be within the constructor, or will it only be *temporally* required?

I don't see how this matters given that Dmitry's design depends on not
executing JavaScript while constructing the element. Whereas if you
put this[Element.init]() in the constructor it totally would.


-- 
https://annevankesteren.nl/


More information about the es-discuss mailing list