helping improve the translation quality in index.md (#34202)

* helping improve the translation quality in index.md

Rephrased the second sentence at the start of the first paragraph to help improve the translation quality. Still a couple of changes I will suggest in the future.

* fix some translation
This commit is contained in:
Wilfred
2018-11-26 22:05:51 +02:00
committed by Jingyi Ding
parent 12bb65edbe
commit 13523c5cfa

View File

@ -4,7 +4,8 @@ localeTitle: 注释
---
## 注释
程序员使用注释向其源代码添加提示,注释,建议或警告;它们对代码的实际输出没有影响。注释可以非常有助于解释您的代码应该或应该做什么的意图
程序员使用注释向其源代码添加提示,注释,建议或警告;它们对代码的实际输出没有影响。注释代码是为了解释代码,并帮助你和其他人在以后看你的代码时能够更好地理解代码
在开始经常评论时,这总是最佳做法,因为它可以帮助那些阅读代码的人了解您的代码究竟打算做什么。
@ -84,4 +85,4 @@ function hello() {
#### 更多信息:
* [如何用JavaScript编写注释](https://www.digitalocean.com/community/tutorials/how-to-write-comments-in-javascript)
* [如何用JavaScript编写注释](https://www.digitalocean.com/community/tutorials/how-to-write-comments-in-javascript)