diff --git a/1-js/02-first-steps/04-variables/article.md b/1-js/02-first-steps/04-variables/article.md index e5b2a3ae17..63646a0556 100644 --- a/1-js/02-first-steps/04-variables/article.md +++ b/1-js/02-first-steps/04-variables/article.md @@ -307,7 +307,7 @@ const pageLoadTime = /* time taken by a webpage to load */; - 变量名要能够准确描述变量并且足够简洁。不好的例子就是 `data` 和 `value`,这样的名称等于什么都没说。如果能够非常明显地从上下文知道数据和值所表达的含义,这样使用它们也是可以的。 - 脑海中的术语和团队保持一致。如果站点的访客称为“用户”,则我们采用相关的变量命名,比如 `currentUser` 或者 `newUser`,而不要 `currentVisitor` 或者一个 `newManInTown`。 -听上去很简单?确实如此,但是实践中创建一个简洁描述的名称并不并非如此。大胆试试吧。 +听上去很简单?确实如此,但是在实践中选择一个一目了然的变量名称并非如此。大胆试试吧。 ```smart header="重用还是新建?" 最后一点,有一些懒惰的程序员,倾向于重用现有的变量,而不是声明一个新的变量。