ECMA-262第6版规定的所有关键字如下:
break、do、in、typeof、case、else、instanceof、var、catch、export、new、void、class、extends、return、while、const、finally、super、with、continue、for、switch、yield、debugger、function、this、default、if、throw、delete、import、try
将来保留的所有词汇:
始终保留:enum
使用"use strict"严格模式下保留:
implements、package、public、interface、protected、static、let、private
模块代码中保留:
await
这些词汇不能用作标识符,但现在还可以用作对象的属性名。