DEVFYI - Developer Resource - FYI

How to comment javascript code?

JavaScript Interview Questions and Answers


(Continued from previous question...)

56. How to comment javascript code?

Use // for line comments and
/*

*/ for block comments

(Continued on next question...)

Other Interview Questions