Referencia de JavaScript 1.5:Palabras Reservadas
De MDC
Las siguientes son parabras reservadas y no pueden ser utilizadas como variables, funcciones, métodos o identificadores de objetos. Las siguientes son reservadas como palabras claves existentes por la especificación ECMAScript:
- 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, y import have been implemented in Mozilla.