Re:HTML comments work in JavaScript too
by galaxyLogic on Tuesday March 08, 2022 @10:38PM
(#30610643)
> Commenting a comment is still a comment
But what about the below, does it work in your language? I assume it may work in some languages but not all.
/*
let a = 1;
/* a is one */
let b = 2;
*/
// => ////
//////////////////////////////////////////////////////////////
// just like those devs that like to decorate their code with
//////////////////////////////////////////////////////////////
/*
* type of stuff
*/
Edit: almost forgot my shell friends
########################
## works too
########################