下面是 ECMAScript 关键字的完整列表:
break case catch continue default delete do else finally for function if in instanceof new return switch this throw try typeof var void while with
保留字在某种意思上是为将来的关键字而保留的单词。因此保留字不能被用作变量名或函数名。
完整的保留字列表如下:
abstract boolean byte char class const debugger double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile
网友评论