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?
asked
Oct 10, 2022
in
JavaScript
by
SakshiSharma
(
32.2k
points)
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
(
32.2k
points)
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
Q: Which one of the following symbol is used for creating comments in the javascript:
asked
Mar 21, 2021
in
JavaScript
by
rajeshsharma
(
23.9k
points)
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
(
14.1k
points)
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
(
31.6k
points)
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
(
14.1k
points)
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
(
23.9k
points)
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
(
14.1k
points)
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
(
31.6k
points)
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
(
31.6k
points)
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
(
31.6k
points)
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
(
31.6k
points)
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
(
31.6k
points)
javascript
code-output
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
(
31.6k
points)
javascript
code-output
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
(
31.6k
points)
javascript
code-output
0
votes
Q: Which one of the following options is the correct output for the given code of javascript?
asked
Mar 22, 2021
in
JavaScript
by
Robindeniel
(
20.8k
points)
javascript
output-code
car
+1
vote
Q: Which one of the following options is the correct output for the given code of JavaScript?
asked
Mar 22, 2021
in
JavaScript
by
Robindeniel
(
20.8k
points)
javascript
output-code
...