4 ms·
I don't think it's a flaw given a symbol is unique so cloning it wouldn't be possible, and creating a new one would compound the problem by not only removing th
by bottlepalm 4y ago
I don't think it's a flaw given a symbol is unique so cloning it wouldn't be possible, and creating a new one would compound the problem by not only removing the symbol, but now adding a new one as well.
This article has a pretty good overview of what symbols are, usually a corner case, but good to know -
https://medium.com/intrinsic-blog/javascript-symbols-but-why-6b02768f4a5c https://medium.com/intrinsic-blog/javascript-symbols-but-why...