Home Naming Conventions in JavaScript

Variable Names

Give variables descriptive names, such as firstName or homeworkScore.

Avoid single-letter variable names like xor c, except for loop variables like i.

Letter-Casing and Special Characters

Name variables and functions with camel-casing likeThis, name classes with Pascal casing LikeThis, and name unchanging "constant" variables in all-uppercase LIKE_THIS.