Q. What is the correct JavaScript syntax to insert a comment that has more than one line? (Solved)

1. <!--This comment has more than one line-->

2. /*This comment has more than one line*/

3. //This comment has more than one line//

4. <//This comment has more than one line//>

  • b. /*This comment has more than one line*/
Subscribe Now

Get All Updates & News