We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5008b85 + b8bada4 commit bfe384aCopy full SHA for bfe384a
doc/zh/function/arguments.md
@@ -80,7 +80,7 @@ JavaScript 中每个函数内都能访问一个特别变量 `arguments`。这个
80
`arguments` 对象总会被创建,除了两个特殊情况 - 作为局部变量声明和作为形式参数。
81
而不管它是否有被使用。
82
83
-`arguments` 的 *getters* 和 *setters* 方法总会被创佳;因此使用 `arguments` 对性能不会有什么影响。
+`arguments` 的 *getters* 和 *setters* 方法总会被创建;因此使用 `arguments` 对性能不会有什么影响。
84
除非是需要对 `arguments` 对象的属性进行多次访问。
85
86
> **ES5 提示:** 这些 *getters* 和 *setters* 在严格模式下(strict mode)不会被创建。
doc/zh/function/general.md
@@ -1,7 +1,7 @@
1
##函数声明与表达式
2
3
函数是JavaScript中的一等对象,这意味着可以把函数像其它值一样传递。
4
-一个常见的用法是把*匿名函数*作为回调函数传递对异步函数中。
+一个常见的用法是把*匿名函数*作为回调函数传递到异步函数中。
5
6
###函数声明
7
0 commit comments