跳转到内容

关键字、保留字、其他不建议使用的标识符

关键字
dowhileinstanceoftypeofbreak
continuecasenewvarcatch
finallyreturnvoidforswitch
defaultifelsethrowdelete
intryfunctionthiswith
debuggerfalsetruenullconst (ES6)
let (ES6)
保留字符
classenumextendssuperconst
exportimportimplementsletprivate
publicyieldinterfacepackageprotected
static
其他不建议使用的标识符
abstractdoublegotonativestatic
booleanenumimplementspackagesuper
byteexportimportprivatesynchronize
charextendsintprotectedthrows
classfinalinterfacepublictransient
constfloatlongshortvolatile
argumentsencodeURIInfinityNumberRegExp
undefinedisFiniteObjectStringBoolean
ErrorRangeErrorparseFloatSyntaxErrorDate
evalJSONTypeErrordecodeURIReferenceError
EvalErrorMathURIErrorFunctiondecodeURIComponent
NaNisNaNparselntArrayencodeURICOmponent