Multi-Line Comments
Swipe to show menu
Summary
- Multi-line comments: used to add comments that span over multiple lines;
- A multi-line comment starts with
/*and ends with*/. Everything in between these symbols is ignored by the JavaScript engine.
/*
This is a multi-line comment.
It can span several lines.
*/
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 12
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Multi-Line Comments
Summary
- Multi-line comments: used to add comments that span over multiple lines;
- A multi-line comment starts with
/*and ends with*/. Everything in between these symbols is ignored by the JavaScript engine.
/*
This is a multi-line comment.
It can span several lines.
*/
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 12