2.4 js标识符和保留字
1.标识符以字母、(_)、($)开头。
2.保留字
1>关键字:break delete function return typeof case do if switch var
catch else in this void continue false instanceof throw while
debugger finally new true with default for null try
2>ECMAScript 5 保留关键字 : class const enum extends import super
3>一般人不用 :implements let private public yield interface
package protected static arguments eval
4>ECMAScript 3 保留关键字 :abstract double goto native static boolean enum
implements package super byte export import private synchronized
char extends int protected throws class final interface public
transient const float long short volatile
5>javaScript 预定义全局变量和函数: arguments encodeURI Infinity Number
RegExp Array encodeURIComponent isFinite Object String
Boolean Error isNaN parseFloat SyntaxError
Date eval JSON parseInt TypeError
decodeURI EvalError Math RangeError undefined
decodeURIComponent Function NaN ReferenceError URIError