Re:A summary of ECMAScript 6 features
by aikah on Sunday February 15, 2015 @05:35AM
(#9052281)
Unfortunately Symbols are not that useful when it comes to private properties in classes. A better approach would be to use use weakmaps to have private properties.
The problem with symbols is the absence of symbol literal syntax(along with the fact that one can access symbols through reflection).
The problem with symbols is the absence of symbol literal syntax(along with the fact that one can access symbols through reflection).