Syntax shortcut for accessing properties on the current context ("this")

Brendan Eich brendan at mozilla.org
Tue Jul 28 18:38:27 UTC 2015


Matthew Robb wrote:
> does it seem reasonable though that if properties get initializers in 
> the class body that they could be considered "in scope" to everything 
> else defined in the class body?

That's a big "if", but with the right *declarative*, binding-like 
syntax, that's plausibly valid inference. Soundness (the "if" 
condition's truth) remains to be seen.

/be


More information about the es-discuss mailing list