Let userName;
let test123;
  • There are two limitations for a variable name in JavaScript: 1. The name must contain only letters, digits, symbols $ and _. 2. The first character must not be a digit.
  • Characters $ and _ are normal, on par with letters.
  • Non-Latin alphabets and hieroglyphs are also allowed, but commonly not used.

Naming — Structure map

Clickable & Draggable!

Naming — Related pages: