in JavaScript by
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

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.

Learn More with Madanswer

Related questions

0 votes
asked Mar 23 in JavaScript by sharadyadav1986