Languages
[Edit]
EN

JavaScript - Comments

0 points
Created by:
Dexter
510

This article will show you how to add comments to your JavaScript code.

Quick solution:

// ONLINE-RUNNER:browser;

// one-line comment
// another one-line comment

/* multi 
   line
   comment
*/

console.log('plain code');

Note:

Comments are ignored and not executed by the Javascript engine.

Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join