Comments In JavaScript

Submitted by:Pitter Alderson

Date added:04 July, 2012

Category:JavaScript

Good programmer comments their code so that anyone can know what is happening in code. Its easy for others to edit the code.

Tags: comments

Code Snippet:

<language="JavaScript" type="text/Javascript">  
/*This is my first script.
I think I should start by
telling the world welcome.*/

document.write("Welcome World.")

// Done greeting the world.

</script>
 
 

Comments