Learn JavaScript
Single and Multiple line comments

Multiple Line Comments

We can add multiple line comments using a forward slash and an asterisk /* at the beginning and an asterisk and a forward slash */ at the end.

We can also use comments to ignore or temporarily disable parts of the code.