What Are JavaScript variables?
Naming convention
Almost all JavaScript programmers follow a naming convention known as lower camel case. It is usually a good idea to follow the conventions of the language we are programming in.
Lower camel case rules:
- Identifier starts with a lower capital letter
- First letter of subsequent words are capitalized
Examples of identifiers following the convention
- id
- lessonName
- lowerCamelCase