Answers for "comment out in javascript"

32

javascript comment

//This is a javascript single line comment

/*
And here is a
multiline comment
*/
Posted by: Guest on June-27-2019
4

javascript comment

// Javascript comment single line
/* Javascript comment 
	multiline */

/* CSS comment 
	any line */

<!-- HTML comment
 	any line -->
Posted by: Guest on April-19-2021
26

comment in javascript

// single line comment 

/* multiline comemnt 
line 2
line 3
line 4 */
Posted by: Guest on July-18-2020
8

comment out in javascript

<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>
Posted by: Guest on March-02-2020
3

comment in js

// use '//'
Posted by: Guest on March-29-2020
6

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>
Posted by: Guest on March-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language