JavaScript关键字

JavaScript关键字教程

JavaScript 关键字,也就是 JavaScript 语言本身正在使用的单词,我们在定义 变量 时,不可以使用 JavaScript 的关键字。

JavaScript关键字列表

JavaScript关键字 JavaScript关键字 JavaScript关键字 JavaScript关键字
break do instanceof typeof
case else new var
catch finally return void
continue for switch while
debugger* function this with
default if throw delete
in try

JavaScript保留字

JavaScript 保留字,也就是 JavaScript 语言未来可能将其做为关键字,我们在定义变量时,同样不可以使用 JavaScript 的保留字。

JavaScript保留字列表

JavaScript保留字 JavaScript保留字 JavaScript保留字 JavaScript保留字
abstract enum int short
boolean export interface static
byte extends long super
char final native synchronized
class float package throws
const goto private transient
debugger implements protected volatile
double import public

JavaScript对象、属性和方法

JavaScript对象属性 JavaScript对象属性 JavaScript对象属性 JavaScript对象属性 JavaScript对象属性
Array Date eval function hasOwnProperty
Infinity isFinite isNaN isPrototypeOf length
Math NaN name Number Object
prototype String toString undefined valueOf

JavaScript关键字总结

JavaScript 关键字,也就是 JavaScript 语言本身正在使用的单词,我们在定义变量时,不可以使用 JavaScript 的关键字。

JavaScript 保留字,也就是 JavaScript 语言未来可能将其做为关键字,我们在定义变量时,同样不可以使用 JavaScript 的保留字。