Computer Science, asked by shohelkhan5400985, 8 months ago

Explain the two types of comments in java script​

Answers

Answered by 32667
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 sana27sharma
0
Single line and multiline hope this helped u
Similar questions