Home > Article > Web Front-end > What are the three comment methods of javascript
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!