X Home About The Rejection Diary Code Editor HTML Javascript Youtube Videos Thermdynamics Automobile RAC Joker Quotes Motivational Quotes Contact Disclaimer Privacy Policy
☰ Learn with Joker

Comments in Javascript



Formating Text








How to use comments in the Javascript. There are two methods for using commments in the javascript that are
(1) // double slash for single line comment.

(2) /* comments writes here */ for multiple line comments.
Example is shown below:-



Comments does not shows in the display. Thats why the display is blank.