Lexical syntax
Identifier
An identifier is the token used to name a binding in a declaration or reference it in an expression. ASCII letters, underscore and dollar sign can start common names; digits can follow. Unicode and context-dependent restrictions are governed by the lexical grammar. Names are case-sensitive.
Formal Syntax & Structure
javascript syntaxjavascript
const itemCount = 3;Working Example
Example Snippetjavascript
const count2 = 4;console.log(count2);