Re:ES6 in Depth: Symbols (2015)
by acjohnson55 on Wednesday July 12, 2017 @09:21AM
(#14752255)
Why is that helpful? In JS, the way you accomplish the same thing is to assign the single instance of the symbol to a property in your module, and that's how you access it, rather than summoning it with the Symbol function. Not sure what the machinery you're suggesting buys you, but I could be missing something!
[ Parent
| on HN ]