| JavaScript - Comments | | Print | |
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) |
|
No comment posted






