Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which symbol is used for comments in Javascript?
Home
JavaScript
Which symbol is used for comments in Javascript?
0
votes
asked
Oct 10, 2022
in
JavaScript
by
SakshiSharma
Which symbol is used for comments in Javascript?
a) \\
b) //
c) \* *\
d) \* */
javascript
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 10, 2022
by
SakshiSharma
Answer:- B
Reason: Single line comments start with //.
Any text between // and the end of the line will be ignored by JavaScript
...