Understanding comments in JavaScript

Report a typo

Consider the following JavaScript code snippet. Which interpretation about comments in the provided code is correct?

/* This is a
multi-line comment */

// This is a single-line comment

/* Another single-line
 * comment but styled differently */

// Is this another
// multi-line comment?
Select one option from the list
___

Create a free account to access the full topic