Skip to content

Commit bfe384a

Browse files
committed
Merge pull request BonsaiDen#131 from ambar/master
[lang=zh] correct some typing errors
2 parents 5008b85 + b8bada4 commit bfe384a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/zh/function/arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ JavaScript 中每个函数内都能访问一个特别变量 `arguments`。这个
8080
`arguments` 对象总会被创建,除了两个特殊情况 - 作为局部变量声明和作为形式参数。
8181
而不管它是否有被使用。
8282

83-
`arguments`*getters**setters* 方法总会被创佳;因此使用 `arguments` 对性能不会有什么影响。
83+
`arguments`*getters**setters* 方法总会被创建;因此使用 `arguments` 对性能不会有什么影响。
8484
除非是需要对 `arguments` 对象的属性进行多次访问。
8585

8686
> **ES5 提示:** 这些 *getters**setters* 在严格模式下(strict mode)不会被创建。

doc/zh/function/general.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##函数声明与表达式
22

33
函数是JavaScript中的一等对象,这意味着可以把函数像其它值一样传递。
4-
一个常见的用法是把*匿名函数*作为回调函数传递对异步函数中
4+
一个常见的用法是把*匿名函数*作为回调函数传递到异步函数中
55

66
###函数声明
77

0 commit comments

Comments
 (0)