Re:Symbols in ECMAScript 6
by nailer on Monday December 29, 2014 @05:39AM
(#8809262)
So in practice, Symbols are likely to be used to replace UUIDs?
I'm not sure the color example reads particularly well, as the value of the symbol would not actually be useful as a color (you could turn it into one, but it wouldn't reflect the name of the constant).
I'm not sure the color example reads particularly well, as the value of the symbol would not actually be useful as a color (you could turn it into one, but it wouldn't reflect the name of the constant).