List of JavaScript keywords and reserved words

List of JavaScript keywords and reserved words

JavaScript reserved words are words that have special uses in JavaScript. These words can't be used as variable names...

JavaScript reserved words are words that have special uses in JavaScript.

They can't be used as variable names.

Here is a list of JavaScript keywords and reserved words.

  • abstract
  • arguments
  • await
  • boolean
  • break
  • byte
  • case
  • catch
  • char
  • class
  • const
  • continue
  • debugger
  • default
  • delete
  • do
  • double
  • else
  • enum
  • eval
  • export
  • extends
  • false
  • final
  • finally
  • float
  • for
  • function
  • goto
  • if
  • implements
  • import
  • in
  • instanceof
  • int
  • interface
  • let
  • long
  • native
  • new
  • null
  • package
  • private
  • protected
  • public
  • return
  • short
  • static
  • super
  • switch
  • synchronized
  • this
  • throw
  • throws
  • transient
  • true
  • try
  • typeof
  • var
  • void
  • volatile
  • while
  • with
  • yield

To stay updated when I post, follow me on Twitter.