Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2945da6

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

AltStyle によって変換されたページ (->オリジナル) /