♦ Multi-Line Comments in JavaScript
♣ Example2: Multi-Line Comments in JavaScript
In this example, Multi-Lines is commented in JavaScript. Example
Input:
xxxxxxxxxx
1
<script>
2
3
/*
4
This is the syntax for multi line commenting,
5
multi line comments become useful when we want to
6
comment multiple line of code
7
*/
8
9
</script>
10
Output: No output since only commenting