Y
Hacker News
new
|
ask
|
show
|
jobs
by
anustart666
4010 days ago
Did you even read it? They don't use the meme 'symbols' but clearly mention 'dynamic property names'.
https://github.com/airbnb/javascript#3.4
1 comments
thomasfoster96
4010 days ago
Dynamic property names are quite different to Symbols in ECMAScript 6.
link
anustart666
4010 days ago
Use a global const for keygen, 'symbol' is most likely just a syntactic sugar for global const...
link
thomasfoster96
4010 days ago
Well a Symbol is guaranteed to be unique (unless you use the symbol registry) and can't be converted to a string - things that you can't say about a global const that is a string.
link