Subscribe to my newsletter and never miss my upcoming articles

JavaScript Symbol

Jun 20, 20214 min read 307 views

In JavaScript, the object key can only be in either string or symbol. A symbol represents a unique identifier To create a symbol, the syntax is shown below: id = Symbol() To create a symbol with a description (symbol-name), the syntax is shown bel...

JavaScript Symbol
JavaScript Console
JavaScript Function Flags and Descriptors
JavaScript Recursion
JavaScript Lexical Environment
JavaScript Rest Parameters and Spread Syntax