JavaScript Keywords
The following table of keywords should never be used as identifiers (i.e.: variable names) in JavaScript. The primary ones discussed on this site are linked to their official MDN documentation.
- await
- break
- case
- catch
- class
- const
- continue
- debugger
- default
- delete
- do
- else
- enum
- export
- extends
- false
- finally
- for
- function
- if
- implements
- import
- in
- instanceof
- interface
- let
- new
- null
- return
- static
- super
- switch
- this
- throw
- true
- try
- typeof
- var
- void
- while
- with
- yield
The MDN site contains a more complete discussion of JavaScript keywords