Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Reserved Words

 

以下这些是保留字,不能用于变量、函数名、过程、和对象名。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,