0 votes
in JavaScript by (23.1k points)
Which one of the following symbol is used for creating comments in the javascript:

a) \\

b) //

c) \* *\

d) \* */

1 Answer

0 votes
by (19.9k points)

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.

Related questions