DEV Community

loading...

Discussion on: HTML & CSS Comments

Collapse
joelbonetr profile image
JoelBonetR

Javascript also supports multiline comments with same syntax:


/*
javascript
multiline
comment
*/

and it can be used to comment a part of a line like this:


doSomething(  foo,  /* foo 2 */ );