Skip navigation

Monthly Archives: May 2010

The following are the reserved words in JavaScript
boolean break byte
case catch char class const continue
debugger default delete do double
else enum export extends
false final finally float for function
if implements import in instanceof int interface
native new null
package private protected public
short static super switch synchronized
this throw throws transient true try typeof
var volatile void
while with
Only Red colored words are used in the language!!!
And more interestingly, few important words are not reserved. Those are
  • undefined
  • NaN
  • Infinity