Solved

Roger Is Writing a Code and He Has Been Advised

Question 53

Multiple Choice

Roger is writing a code and he has been advised by his mentor to provide comments in the code. What is the format that Roger must follow to write comments in JavaScript?


A) He must use a slash and asterisk for multiline comments.
B) He must use a single slash for a one-line comment.
C) He must use double slashes and a period for multiline comments.
D) He must use a period and asterisk for a one-line comment.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions