Re: EcmaScript Proposal – Private methods and fields proposals.
Isiah Meadows
isiahmeadows at gmail.com
Sat Apr 14 10:48:26 UTC 2018
Oops...somehow, I forgot about that... :-)
-----
Isiah Meadows
me at isiahmeadows.com
Looking for web consulting? Or a new website?
Send me an email and we can get started.
www.isiahmeadows.com
On Sat, Apr 14, 2018 at 3:21 AM, T.J. Crowder
<tj.crowder at farsightsoftware.com> wrote:
>> Just an item of note: `private` *is* a valid identifier name in sloppy
>> mode, so your `private(this)` and `private["foo"]` syntax won't work
>> without banning it from sloppy.
>
> `class` code is always strict[1].
>
> -- T.J. Crowder
>
> [1]: https://tc39.github.io/ecma262/#sec-class-definitions
More information about the es-discuss
mailing list