JavaScript Comment: In JavaScript, comments are used to add information about the code, that are ignored by the browser or interpreter. Advantage of JavaScript comments: The main advantage of comments are- Types of JavaScript Comments There are two types of comments in JavaScript. Example1: Output: Example2: Output: 2. Multi-line comments: They begin with /* and Read More

Read More
Artificial Intelligence