fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@ -0,0 +1,22 @@
---
title: Comment Your JavaScript Code
localeTitle: 评论您的JavaScript代码
---
评论是留给自己和其他人的好方法,后者需要弄清楚它的作用。其中的任何代码都将被忽略。
我们来看看用JavaScript编写注释的两种方法。
* 双斜杠注释将注释掉当前行的文本的其余部分:
`// This is a single line comment.`
* 斜杠 - 星 - 星 - 斜杠评论将注释掉`/*``*/`字符之间的所有内容:
```javascript
/*
This is
a multi-line comment
(comment block)
*/
```