in JavaScript by
Q:
Which one of the following symbol is used for creating comments in the javascript:

a) \\

b) //

c) \* *\

d) \* */

► Click here to show 1 Answer

0 votes
by

Answer: B

Reason: The single line comments always starts by the "//" and any text written in between the "// "and the end of the line is considered as comment and ignored by the JavaScript.

JavaScript
Learn More with Madanswer

Related questions

0 votes
asked Mar 23 in JavaScript by sharadyadav1986
...