Saved Bookmarks
| 1. |
How do you write a comment in Javascript? |
|
Answer» There are two types of comments we can write in JAVASCRIPT; single line comment and multiline comment. To create a single line comment, the users have to place two slashes “//” in front of TEXT or CODE which they wish to have the JavaScript interpreter ignore. For multiline comments, use /* from the beginning of the comment and END it with */. |
|