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
Math,
3 months ago
Hindi,
3 months ago
India Languages,
3 months ago
Geography,
7 months ago
Social Sciences,
7 months ago
English,
11 months ago
Math,
11 months ago
Math,
11 months ago