다음은 예약어이고 변수, 함수, 메소드, object 식별자(identifier)로 쓸 수 없습니다. 다음은 ECMAScript 명세(specification)에서 기존 keyword로 예약됐습니다:
- 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
다음은 ECMAScript 명세에서 미래 keyword로 예약됐습니다:
- 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
ECMA-262에는 명기되지 않았지만, const, export, import는 Mozilla에서 구현됐음을 주목하세요.