Basic JavaScript Question:
Download Questions PDF

How to comment JavaScript code?


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

Previous QuestionNext Question
How to hide JavaScript code from old browsers that don't run it?Name the numeric constants representing max, min values?