Comments in JavaScript

0
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).

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.