Solved

Roger Is Writing a Code and He Has Been Advised

Question 33

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents