mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Update desc for function scope in block scope.
This commit is contained in:
parent
52386d10f6
commit
b744b68e61
@ -115,7 +115,7 @@ function f1() {
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
另外,ES6也规定,函数的作用域为其所在的块级作用域。
|
另外,ES6也规定,函数本身的作用域,在其所在的块级作用域之内。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user