0 votes
in JavaScript by

Which symbol is used for comments in Javascript?

a) \\

b) //

c) \* *\

d) \* */

1 Answer

0 votes
by
Answer:-  B

Reason: Single line comments start with //.

Any text between // and the end of the line will be ignored by JavaScript

Related questions

0 votes
asked Oct 8, 2022 in JavaScript by rajeshsharma
0 votes
asked Mar 23, 2021 in JavaScript by sharadyadav1986
...