We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 450101d + 8d150d4 commit 99bc9bfCopy full SHA for 99bc9bf
1 file changed
2-ui/1-document/01-browser-environment/article.md
@@ -25,7 +25,7 @@ function sayHi() {
25
}
26
27
// global functions are accessible as properties of window
28
-alert(window.sayHi);
+window.sayHi();
29
```
30
31
And here we use it as a browser window, to see the window height:
0 commit comments