Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.0
-
None
-
None
Description
It's almost 2 years since private properties and methods are added to ECMA standard. Starting Chrome 84 we are allowed to use both natively in the browser (without Babel). Private properties are available in Chrome even starting version 74 (released 2019-04-23).
Code example:
class A {
#privateProp = 0;
#privateMethod() {
return 0;
}
}
But in both cases we get parsing error in NetBeans.