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
Accountancy,
4 months ago
Geography,
8 months ago
Social Sciences,
8 months ago
English,
11 months ago
Math,
11 months ago
Math,
11 months ago