Azure / AppConfiguration-JavaScriptProvider

The configuration provider for consuming data in Azure App Configuration from JavaScript applications like Node or browser apps.
https://github.com/Azure/AppConfiguration
MIT License
7 stars 1 forks source link

Adopt private field/methods in ES2022 #29

Closed Eskibear closed 5 months ago

Eskibear commented 9 months ago

https://262.ecma-international.org/13.0/#sec-privateelement-specification-type https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_properties

We can prepend # to names of private fields and methods. Then users won't have chance to access those internal members.