Skip to content

Commit

Permalink
Update files/zh-cn/web/javascript/closures/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
familyboat and yin1999 authored Oct 22, 2024
1 parent 7f49b80 commit 690215e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/zh-cn/web/javascript/closures/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ setX(6);
console.log(getX()); // 6
```

也能在导入的值上创建闭包,这认为是*实时 {{Glossary("binding", "绑定")}}*,因为当原始值变化时,导入值也相应地变化。
也能在导入的值上创建闭包,这认为是*实时{{Glossary("binding", "绑定")}}*,因为当原始值变化时,导入值也相应地变化。

```js
// myModule.js
Expand Down

0 comments on commit 690215e

Please sign in to comment.