Answers

Question and Answer:

  Home  Website Developer

⟩ Tell us what Types Of Comments Does JavaScript Support?

There are two ways to insert comments in JavaScript code.

For single line comment, we can use // (double forward slash).

For multiline comment, we enclose comments using /* */.

/*

//

//

*/

 144 views

More Questions for you: