Closed erosman closed 1 year ago
Describe the bug JSLint error on Private class features
class ClassWithPrivate { #privateField; #privateFieldWithInitializer = 42; #privateMethod() { // … } } class ClassWithStaticPrivate { static #privateField; static #privateFieldWithInitializer = 42; static #privateMethod() { // … } }
JSLint - [JSLint was unable to finish] Unexpected character '#'.
Jslint edition: vscode-jslint v2023.4.29
Expected behavior No error
jslint doesn't support es-classes or private fields. there a no plans to implement this support.
Describe the bug JSLint error on Private class features
Jslint edition: vscode-jslint v2023.4.29
Expected behavior No error