Expert JavaScript Developer Question:
Download Questions PDF

How you comment JavaScript code?

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 Interview Questions And Answers PDF

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?