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
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Which one of the following symbol is used for creating comments in the javascript:
asked
Mar 21, 2021
in
JavaScript
by
rajeshsharma
javascript
comments
create-comment
0
votes
Q: Which of these symbols is used to create comments in JavaScript?
asked
Dec 1, 2022
in
JavaScript
by
john ganales
javascript
0
votes
Q: Which one of the following keywords is used for defining the function in the JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
funciton
code
0
votes
Q: Which of these keywords is used to define various functions in JavaScript?
asked
Dec 2, 2022
in
JavaScript
by
john ganales
javascript
0
votes
Q: Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
asked
Oct 8, 2022
in
JavaScript
by
rajeshsharma
javascript
handler-method
0
votes
Q: Which of these is a correct output for the JavaScript code given below?
asked
Dec 1, 2022
in
JavaScript
by
john ganales
javascript
0
votes
Q: Which one of the given options can be considered as the correct output for the following JavaScript code?
asked
Mar 24, 2021
in
JavaScript
by
sharadyadav1986
javascript
object
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
program
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
0
votes
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 23, 2021
in
JavaScript
by
sharadyadav1986
javascript
output
code
...