Contact Us || Privacy Policy || About Us |
|
Js CommentsMainly JavaScript comments can be used to explain the JavaScript code . Types of JSThere is two types of Js Comments that is.
1) Single Line Comments in JavascriptUse the double forward slash // for single line comments. Syntax: Example: Test it Now2) Multi-line comment in JavascriptA multi-line comment in javascript start with forward slash and asterisk (/*), and end with the reverse asterisk and forward slash (*/). Syntax: Example: Test it Now
Next TopicJS Variable
|