Scripting Master Logo Scripting Master
Learn Scripting Languages from the Master!

JavaScript's reserved words

Home : JavaScript > Quick Reference Pages > Reserved words

This page lists those words that are reserved by the JavaScript language for its use. The reserved words have a very specific meaning to JavaScript. Because these words are part of the language, you cannot use these words, for example, to name your variables or functions. This list is alphabetized for your convenience.

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