COMPUTER NETWORKS AND COMMUNICATIONS
INTERNET AND WEB TECHNOLOGIES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What is this an example of? /* This is a multi-line comment */
|
Syntax
|
|
Property
|
|
Value
|
|
Comment
|
Explanation:
Detailed explanation-1: -Multiline comments are used for large text descriptions of code or to comment out chunks of code while debugging applications. Comments are ignored by the compiler.
Detailed explanation-2: -/* Multi-line comments */ Allows you to add explanatory text to code. The comment begins with /* and ends with */. This type of comment can wrap over multiple lines.
Detailed explanation-3: -Multi-line comments start with /* and ends with */ .
Detailed explanation-4: -JavaScript Multi-Line Comment Multi-line comments in JavaScript code can be added by writing the comment between a forward-slash followed by asterisk /* and asterisk followed by a forward-slash */ .
There is 1 question to complete.