comment in javascript
snippet in javascript

comment in javascript

user7617

// single line comment 

/* multiline comemnt 
line 2
line 3
line 4 */

javascript comment

user3840

//This is a javascript single line comment

/*
And here is a
multiline comment
*/

comment in JavaScript

user306

// This is how you comment a single line in JavaScript

/*
This is how you comment
multiple lines in 
JavaScript
*/

comment out in javascript

user5529

<script type="text/javascript">
<!--
document.write("I have multi-line comments!");
/*document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");*/
//-->
</script>

how to comment in javascript

user9224

/* this is a javascript comment
that is multi lines */
// This is a single line comment

how to comment out code in react js

user4438

render() {
  return (
    <div>
      <!-- This doesn't work! -->
    </div>
  )
}