Tutorial Comments in JavaScript
by Unknown in javascript , Tutorial 0
function doSomething() {
/*
This code by Chris Coyier
*/
var i = 0; // counter to be used later;
}
Comments in JavaScript can be between /* */ markings (useful for multiple line comments) or after // markings (for single lines only).