Consider the following JavaScript code snippets. Which ones contain properly formatted and valid JavaScript comments?
1.
// Single-line comment2.
/* Multi-
line
comment */3.
# This is a comment4.
/ Multi-
line
comment /Consider the following JavaScript code snippets. Which ones contain properly formatted and valid JavaScript comments?
1.
// Single-line comment2.
/* Multi-
line
comment */3.
# This is a comment4.
/ Multi-
line
comment /Create a free account to access the full topic