I am a beginner, blog essays are basically a record of their own learning knowledge, the primary level. The great god please ignore, thank you.
* Identifiers
The so-called identifier refers to a variable, function, attribute name, or function parameter.
The first character must be a letter, a glide line, and a dollar sign.
Other characters can be letters, glide lines, dollar signs, or numbers.
* Key Words
Keywords are used to denote the start and end of a control statement, or to perform a specific operation. cannot be used as an identifier.
1 <Script>2 var New instanceof typeof3 Try Catch Throw finally 4 return void Continue for 5 Switch Case Break default 6 Do while Debugger function 7 This with if Else 8 inch Delete 9 </Script>
* Reserved words
Another set of reserved words that cannot be used as identifiers is likely to be used as a keyword in the future. ECMA-262 all reserved words as defined in version 3rd:
1 abstract enum int 2 boolean export interface static 3 byte extends long Super4 Char final native synchronized5 class float package throws 6 const goto Private transient7public implements protected volatile8 double import public
JavaScript Learning-identifiers, keywords, reserved words