Java script,comments,Single line comment,Multi line comment leywords@metatags

In any programming language comments makes code readable and understandable. Usually while declaring a method or writing any logic we have to write the purpose for creating method or logic.

Javascript supports two types of comments
      1.Single line comment.
      2.Multi line comment.

Single line comment:

Single line comment starts with //


// this is a single line comment.

Multi line comment:

Multi line comment starts with /* and ends with */


/* this Is A Multi line comment */