Hacker News new | ask | show | jobs
by v413 3380 days ago
There are global symbols. You use Symbol.for() to either create or retrieve them. E.g. Symbol.for('hello') is available globally through the global registry. It should be noted that an already existing symbol e.g. Symbol('hello') is not the same as Symbol.for('hello') while Symbol.for('hello') === Symbol.for('hello')
1 comments

Thanks, I had forgot that had made it in after all.