Your host:
Stephen Chapman
Stephen Chapman

Javascript Reserved Words

The following are reserved keywords words in Javascript and may not be otherwise used. This list includes the new keywords that are reserved for future use.

  • abstract
  • boolean
  • break
  • byte
  • case
  • catch
  • char
  • class
  • continue
  • const
  • debugger
  • default
  • delete
  • do
  • double
  • else
  • extends
  • enum
  • export
  • 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
  • this
  • throw
  • throws
  • transient
  • true
  • try
  • typeof
  • var
  • void
  • volatile
  • while
  • with

 

The following words are not reserved but have special meanings and therefore their use as variables or function names should also be avoided.

  • alert
  • anchor
  • area
  • arguments
  • array
  • assign
  • blur
  • button
  • callee
  • caller
  • captureevents
  • checkbox
  • clearinterval
  • cleartimeout
  • close
  • closed
  • confirm
  • constructor
  • date
  • defaultstatus
  • document
  • element
  • escape
  • eval
  • fileupload
  • find
  • focus
  • form
  • frame
  • frames
  • function
  • getclass
  • hidden
  • history
  • home
  • image
  • infinity
  • innerheight
  • isfinite
  • innerwidth
  • isnan
  • java
  • javaarray
  • javaclass
  • javaobject
  • javapackage
  • length
  • link
  • location
  • locationbar
  • math
  • menubar
  • mimetype
  • moveby
  • moveto
  • name
  • nan
  • navigate
  • navigator
  • netscape
  • number
  • object
  • onblur
  • onerror
  • onfocus
  • onload
  • onunload
  • open
  • opener
  • option
  • outerheight
  • outerwidth
  • packages
  • pagexoffset
  • pageyoffset
  • parent
  • parsefloat
  • parseint
  • password
  • personalbar
  • plugin
  • print
  • prompt
  • prototype
  • radio
  • ref
  • regexp
  • releaseevents
  • reset
  • resizeby
  • resizeto
  • routeevent
  • scroll
  • scrollbars
  • scrollby
  • scrollto
  • select
  • self
  • settimeout
  • status
  • statusbar
  • stop
  • string
  • submit
  • sun
  • taint
  • text
  • textarea
  • toolbar
  • top
  • tostring
  • undefined
  • unescape
  • untaint
  • unwatch
  • valueof
  • watch
  • window
Copyright © Felgall Pty Ltd
Web Hosting | VPS Hosting | Dedicated Hosting
United Specialties - Arizona Landscaping - Debt Consolidation - Renegade Motorhomes