We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d221e01 commit 9a130acCopy full SHA for 9a130ac
1-js/06-advanced-functions/05-global-object/article.md
@@ -25,7 +25,7 @@ var gVar = 5;
25
alert(window.gVar); // 5(成为了全局对象的属性)
26
```
27
28
-具有与函数声明相同的效果(在主代码流中具有 `function` 关键字的语句,而不是函数表达式)。
+函数声明(特指在主代码流中具有 `function` 关键字的语句,而不是函数表达式)也有这样的效果。
29
30
请不要依赖它!这种行为是出于兼容性而存在的。现代脚本使用 [JavaScript modules](info:modules) 所以不会发生这种事情。
31
0 commit comments