Core JavaScript 1.5 Reference:Reserved Words
From MDC
The following are reserved words and may not be used as variables, functions, methods, or object identifiers. The following are reserved as existing keywords by the ECMAScript specification:
- break
- case
- catch
- continue
- default
- delete
- do
- else
- finally
- for
- function
- if
- in
- instanceof
- new
- return
- switch
- this
- throw
- try
- typeof
- var
- void
- while
- with
The following are reserved as future keywords by the ECMAScript specification:
- 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.