Expert JavaScript Developer Question:

How you comment JavaScript code?

Tweet Share WhatsApp

Answer:

Use // for a single line comments in JavaScript and
/* start of Multiple lines comment in JavaScript

Multiple line comments in JavaScript
*/ for block comments in JavaScript

Download Expert JavaScript Developer PDF Read All 58 Expert JavaScript Developer Questions
Previous QuestionNext Question
Tell me to put a "close window" link on a page?How you hide JavaScript code from old browsers that don't run it?