来源 :http://www.codelifter.com/main/tips/tip_020.shtml The following are the rules for naming JavaScript variables: 1. A variable name cannot start with a numeral. For instance, 3x or 2goats or 76trombones would all be illegal variable names. You can,…