Which of the following is NOT a valid way to comment in JavaScript?Points:1<!-- This is a comment -->/* This is a comment */# This is a commentI don't know// This is a comment
Question
Which of the following is NOT a valid way to comment in JavaScript?Points:1<!-- This is a comment -->/* This is a comment */# This is a commentI don't know// This is a comment
Solution 1
This is a comment
Solution 2
This is a comment
Similar Questions
How can we add comments in a JavaScript code?B. /* This is a comment */Both A and BNone of the optionsA. // This is a comment
Question 4Which of the following is the correct way of commenting in CSS?1 point// This is a comment./* This is a comment. */-- This is a comment. --
What is the correct way to comment out multiple lines of HTML code?Options<!-- This is a comment -->// This is a comment# This is a comment/* This is a comment */
How can you add a comment in a JavaScript?{$a->questionintifier} Yanıta.//This is a comment//b.//This is a commentc."This is a comment"d.<!--This is a comment-->
How to insert a multi-line comment in JavaScript?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.