Online
 
Sunday, 23 November 2008
 
 

JavaScript - Comments | Print |  E-Mail
 

JavaScript supports both C and C++ comments. Any amount of text, on one or more lines, between /* and */ is a comment, and is ignored by JavaScript. Also, any text between // and the end of the current line is a comment, and is ignored. Examples:

// This is a single-line, C++-style comment.

/*

* This is a multi-line, C-style comment.

* Here is the second line.

*/

/* Another comment. */ // This too.

 

Code to your pages, blogs, friendster or wordpress:
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: JavaScript, Java, Script, Java Menu, Java Template, Templates, Website, Source Script.
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!