> 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
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to