Home >Web Front-end >Front-end Q&A >What is the comment format of JavaScript?

What is the comment format of JavaScript?

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

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 "7959186a83a35dba703f07f5ca0693a8 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