Javascript - Comments

About

Language - Comment in Javascript

Syntax

// This is a comment
/* This 
       one 
             also 
                   but on multiple lines
*/

var a = /* It can also appears in the middle of an expression */ 42;
console.log(a);





Discover More
CSS - Comments

CSS The comment syntax of CSS is the same than javascript. They: begin with the characters / end with the characters /. They may occur anywhere between tokens, and their contents have no influence...
Card Puncher Data Processing
Language - Comment

Comments are the code document. They should explain why, not what. They can optionally explain how if what’s written is particularly confusing. Javascript In javascript with the Reference/Global_Objects/String/replaceReplace...



Share this page:
Follow us:
Task Runner