Skip to content

Commit 2945da6

Browse files
authored
Update function.md
1 parent e1791a0 commit 2945da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ function(){ /* code */ }();
803803
// SyntaxError: Unexpected token (
804804
```
805805

806-
产生这个错误的原因是,`function`这个关键字即可以当作语句,也可以当作表达式。
806+
产生这个错误的原因是,`function`这个关键字既可以当作语句,也可以当作表达式。
807807

808808
```javascript
809809
// 语句

0 commit comments

Comments
 (0)