Symbol

symbol - a new ES6 primitive type and its use cases

ES6 introduces a new primitive type for JavaScript: Symbols. The global Symbol() function creates a JavaScript symbol. Each time the Symbol() function is called, a new unique symbol is returned.

Get hands-on with 1400+ tech skills courses.