Reserved Words

3 位贡献者:

 

以下这些是保留字,不能用于变量、函数名、过程、和对象名。The following are reserved as existing keywords by the ECMAScript specification:

以下是ECMAScript特性关键字:

  • 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

Take note that while not specified in ECMA-262, const, export, and import have been implemented in Mozilla.

文档标签和贡献者

向此页面作出贡献: Haichao, teoli, Mickeyboy
最后编辑者: teoli,