fix typos

This commit is contained in:
qianguyihao
2020-08-24 10:14:32 +08:00
parent 5ae9416e6f
commit fc6cedde18
11 changed files with 16 additions and 16 deletions

View File

@@ -532,7 +532,7 @@ PS还有一个条件是**外部函数被调用,内部函数被声明**。
showDelay('atguigu', 2000)
```
上面的代码中闭包是里面的funciton因为它是嵌套的子函数而且引用了外部函数的变量msg
上面的代码中闭包是里面的function因为它是嵌套的子函数而且引用了外部函数的变量msg
## 闭包的作用