554 B
554 B
title | localeTitle |
---|---|
Comment Your JavaScript Code | 评论您的JavaScript代码 |
评论您的JavaScript代码
通过注释,您可以键入不希望计算机作为代码运行的内容。例如,其他程序员的注释,方向等。以下是如何创建单行注释。
// Hey, I'm a comment!
现在,如果你想评论整个段落,可以很容易地完成...
/*
Hey, I'm a paragraph comment.
This allows for programmers to
write tons and tons of random
words, without the fear of me
being compiled!
*/