Home  >  Article  >  Web Front-end  >  What is the comment format of JavaScript?

What is the comment format of JavaScript?

藏色散人
藏色散人Original
2021-09-10 11:19:173555browse

There are three comment formats for JavaScript, which are: 1. Through "/**/" symbol for multi-line comments; 2. Use the "//" symbol for single-line comments; 3. Use the "7e2f38a115311ba5cc5db63d9f215989 after it. This is different from html comments.

Recommended study: "

javascript basic tutorial"

The above is the detailed content of What is the comment format of JavaScript?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn