Using JavaScript Comments
<html>
<head>
<title>Using JavaScript comments</title>
</head>
<body>
<script language="JavaScript">
<!-- Begin hiding JavaScript
// document.write("hello world!")
/* document.write("Hello world!")
document.write("Hello World!") */
document.write("HELLO WORLD!")
// End hiding Javascript -->
</script>
</body>
</html>
Related examples in the same category