Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JavaScript comments can be used to explain JavaScript code, and to make it more readable.
- JavaScript comments can also be used to prevent execution, when testing alternative code.
- There are 2 types of comment
- Single line - //
- Multiline - /*
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement