My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What is the purpose of Symbol in ES6?

Ruth Alec's photo
Ruth Alec
·Sep 9, 2016

What’s the purpose of Symbol([description]) in ES6? I am reading Mozilla docs and I didn't find any clarifications on the usage of Symbol in ES6. It just explains that Symbol creates a new symbol every time even if the string is unique.