Lexical syntax
Reserved words
Reserved words cannot serve as ordinary binding identifiers in the contexts where they are reserved. For example return and class are reserved; some words have context-dependent restrictions. Property names may accept words forbidden as binding names. The example chooses a legal name instead of return.
Formal Syntax & Structure
javascript syntaxjavascript
const result = 1;Working Example
Example Snippetjavascript
const result = 1;console.log(result);