Computer Science, asked by Kokilaa, 11 months ago

Comments are used to .............. in JavaScript programs.​

Answers

Answered by tiger3920
0

comments are used to show in javaScript programmes


Kokilaa: your answer is wrong
tiger3920: how
Answered by Niruru
8
\bf {Answer :-}

"Comments are used to understand complex logics in JavaScript programs."

\bf {Further \: Details}

Comments, written by preceded with two forward slashes are used to improve the readability of program and will be ignored by the interpreter.

There are two kind of comments in JavaScript :-

1. \bf{Single \: Line \: Comment :} begins with two forward slashes //

2. \bf {Multi \: Line \: Comment :} begins with /* and ends with */

Comments are ignored by the interpreter and are not executed. Comments play important role in helping the programmer to understand complex logics while writing JavaScript code.
____________________ _ _
Similar questions