Grow your CSS skills. Land your dream job.

Last updated on:

Comments in JavaScript

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

Comments

  1. dev
    Permalink to comment#

    nice articles

Leave a Comment

Current day month ye@r *

*May or may not contain any actual "CSS" or "Tricks".