Comment in java script
- satyanarayan behera
- Aug 22, 2022
- 1 min read
In programming, if we want to provide any information or descriptions for further reference or future reference we can use comment functionality and it will not impact the coding.
In JavaScript, we have two types of comment styles, single line comment and another is multiline line comment please find the below example for the ready reference.
Single line comment >>
// This is the single comment structure
Multiline comment >>
/* This is..……………a…….
…. multiline comment */
Comments