how to comment out in javascript code example
Example 1: comment in javascript
// single line comment
Example 2: how to comment in javascript
// This is a single line comment
Example 3: js comment
//This does not effect the code.
var something = "But this does effect the code!";
Example 4: comment in JavaScript
// This is how you comment a single line in JavaScript
Example 5: comment out in javascript
<script type="text/javascript">
<!--
// This is a single line JavaScript comment
document.write("I have comments in my JavaScript code!");
//document.write("You can't see this!");
//-->
</script>