Re: EcmaScript Proposal – Private methods and fields proposals.

Waldemar Horwat waldemar at google.com
Thu Apr 12 22:16:37 UTC 2018


I read that proposal but don't understand what the proposal actually is.  At this point it's a bit of syntax with no semantics behind it.  What does private(this)[property] do?  How do private fields come into existence?  How do you prevent them from being forged or stuck onto unrelated objects?  What's private about private fields?

     Waldemar


More information about the es-discuss mailing list