Friday, August 16, 2013

JavaScript end line comments

<html>
<body>

<script type="text/javascript">
document.write("Hello"); // Write "Hello"
document.write(" Mahbub!"); // Write " Mahbub!"
</script>

</body>
</html>

Result

 

No comments: