Re:Symbols in ECMAScript 6
by Arnavion on Monday December 29, 2014 @08:14PM
(#8812799)
There's also Object.getOwnPropertySymbols()
At any rate, Symbol properties aren't meant to be a bullet-proof way to hide private properties. They just reduce the default public API surface of an object by suppressing its internals.
At any rate, Symbol properties aren't meant to be a bullet-proof way to hide private properties. They just reduce the default public API surface of an object by suppressing its internals.