Online
 
Friday, 21 November 2008
 
 

JavaScript - Keywords | Print |  E-Mail
 

The following keywords are part of the JavaScript language, and have special meaning to the JavaScript interpreter. Therefore, they may not be used as identifiers:

break     do        if         switch  typeof 







case else in this var







catch false instanceof throw void







continue finally new true while







default for null try with







delete function return

JavaScript also reserves the following words for possible future extensions. You may not use any of these words as identifiers either:

abstract  enum        int        short



boolean export interface static



byte extends long super



char final native synchronized



class float package throws



const goto private transient



debugger implements protected volatile



double import public

In addition, you should avoid creating variables that have the same name as global properties and methods: see the Global, Object, and Window reference pages. Within functions, do not use the identifier arguments as an argument name or local variable name.

 

This entry was posted on . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a comment. Tags: Java Script, JavaScript, Script, java, Web Menu, Website, templates.
Users' Comments (0)

Comment an article
  Name
  E-mail
   Title
Available characters: 4000
 Notify me of follow-up comments
This image contains a scrambled text, it is using a combination of colors, font size, background, angle in order to disallow computer to automate reading. You will have to reproduce it to post on my homepage
Enter what you see:

No comment posted

Jumbo Coklat
 
Top! Top!