JavaScript variables can be almost unlimited in length, although for practical reasons you'll probably keep your variable names under 10 or 15 characters. Shorter variable names help JavaScript execute the program faster. You can use numbers as long as the name doesn't start with a digit. For example, MyVar1 is acceptable, but 1MyVar is not. Don't use punctuation characters in variable names.
Variables can begin with the underscore character.
Variable names are case-sensitive. The variable MyVar is a distinctly different variable from myVar, myvar, and other variations.