提交 38d58ad7 编写于 作者: fxy060608's avatar fxy060608

Update function.md

上级 a52c3fb0
......@@ -350,7 +350,7 @@ fn()
```
```ts
const fn: (() => void) | null = null
let fn: (() => void) | null = null
fn = function () {
console.log(fn) // 此时 fn 可以正常访问
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册