JavaScript Comments

JavaScript comments can be used to explain JavaScript code. Single line comments start with //. Multi-line comments start with /* and end with */.

Code :