Explain the two types of comments in java script
Answers
Answered by
4
Answer:
There are two types of comments in JavaScript: single-line and multi-line. Comments can be used to explain or hide the code so it is not executed. Single-line JavaScript comments are used for one line of comment only and do not need to be closed.
Explanation:
Answered by
0
Single line and multiline hope this helped u
Similar questions