WebDevelopersNotes logo

home-icon Home / JavaScript / Reserved words in JavaScript

Reserved words in JavaScript

Reserved words in JavaScript

The following is a list of reserved words and words that you should avoid using in JavaScript for naming functions, variables etc.

abstract        alert           arguments       Array
blur            boolean         Boolean         break
byte            callee          caller          captureEvents
case            catch           char            class
clearInterval   clearTimeout    close           closed
confirm         const           constructor     continue
Date            debugger        default         defaultStatus
delete          do              document        double
else            enum            escape          eval
export          extends         false           final
finally         find            float           for
focus           frames          function        Function
goto            history         home            if
implements      import          in              Infinity
innerHeight     innerWidth      instanceof      int
interface       isFinite        isNaN           java
length          location        locationbar     long
Math            menubar         moveBy          moveTo
name            NaN             native          netscape
new             null            Number          Object
open            opener          outerHeight     outerWidth
package         Packages        pageXOffset     pageYOffset
parent          parseFloat      parseInt        personalbar
print           private         prompt          protected
prototype       public          RegExp          releaseEvents
resizeBy        resizeTo        return          routeEvent
scroll          scrollbars      scrollBy        scrollTo
self            setInterval     setTimeout      short
static          status          statusbar       stop
String          super           switch          synchronized
this            throw           throws          toolbar 
top             toString        transient       true
try             typeof          unescape        unwatch
valueOf         var             void            watch
while           with            window

Sponsored Links

Your comments
Star icon IMPORTANT Have a question / problem? Click here to ask an expert.

Web browser funny images and jokes

Sponsored Links


How do I view a deleted web page?
Is there a way to view a deleted web page - one that is no longer available? Yes there is and the solution is quite simple. [more...]


In it's modern form, Sukodu was first published on November 12, 2004, in The Times, UK. The newspaper received a "complaint" the very next day from one Ian Payn. He had got so engrossed in the puzzle that he missed his bus. [more...]

We use cookies to give you the best possible website experience. By using WebDevelopersNotes.com, you agree to our Privacy Policy