Languages
[Edit]
EN

JavaScript - Comments

0 points
Created by:
Dexter
300

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.

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