Advertisement
Guest User

Untitled

a guest
Sep 24th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. JavaScript comments can be used to explain JavaScript code, and to make it more readable.
  2.  
  3. JavaScript comments can also be used to prevent execution, when testing alternative code.
  4.  
  5. There are 2 types of comment
  6. Single line - //
  7. Multiline - /*
  8.  
  9. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement