You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/09 08:52:37 UTC

[GitHub] [netbeans] qmegas opened a new issue, #4215: Support JavaScript private methods and properties

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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] matthiasblaesing commented on issue #4215: Support JavaScript private methods and properties

Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on issue #4215:
URL: https://github.com/apache/netbeans/issues/4215#issuecomment-1151399674

   Works in master (and most probably in NB14:  https://github.com/apache/netbeans/pull/3599)


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] matthiasblaesing closed issue #4215: Support JavaScript private methods and properties

Posted by GitBox <gi...@apache.org>.
matthiasblaesing closed issue #4215: Support JavaScript private methods and properties
URL: https://github.com/apache/netbeans/issues/4215


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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