Skip navigation

Monthly Archives: May 2010


The following are the reserved words in JavaScript
 
 
abstract
boolean break byte
case catch char class 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
long
native new null
package private protected public
return
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
Follow

Get every new post delivered to your Inbox.

Join 150 other followers