Solved

Critical Thinking Questions Case 10-2

Question 68

Multiple Choice

Critical Thinking Questions Case 10-2
Roger has joined WebPort Inc. as a junior JavaScript programmer. He is working with a large team of expert programmers to launch a website.
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 the 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 the 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