Home >Web Front-end >JS Tutorial >What are the three comment methods of javascript

What are the three comment methods of javascript

青灯夜游
青灯夜游Original
2021-06-11 17:32:266466browse

Three ways to comment on JavaScript: 1. Use "/*" and "*/" symbols to comment, and the syntax is "/* Content to be commented */"; 2. Use "//" symbols to comment. Comment, the syntax is "//The content that needs to be commented"; 3. Use the "679558ff99f86acb62ca2099983cef27 after it. This is different from html comments.

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of What are the three comment methods 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