qmegas opened a new issue, #4215:
URL: https://github.com/apache/netbeans/issues/4215

   ### Description
   
   It's almost [3 
years](https://github.com/tc39/notes/blob/main/meetings/2019-01/jan-30.md#private-fields-and-methods-refresher])
 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:
   
   ```js
   class A {
        #privateProp = 0;
        
        #privateMethod() {
                return 0;
        }
   }
   ```
   
   But in both cases we get parsing error in NetBeans.
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow the Apache Software Foundation's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct.html)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to