What are the ways of making comments in JavaScript?

  • : 408
  • : 0
    Previous Next

    // is used for line comments
    ex:- var x=10; //comment text

    */ is used for block comments

    you can suggest other answer in comment box

  • Exam: Java Script Interview QUESTIONS

    Recommended Learning for you

    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material