Comments in JavaScript

Posted by yhuang
Public (Editable by Users)
JavaScript
None
Edit
// a one line comment
 
/* this is a longer, 
 * multi-line comment
 */
 
/* You can't, however, /* nest comments */ SyntaxError */