Update article.md
The old code doesn't work. Is this what you wanted to show?
This commit is contained in:
parent
168b273caa
commit
8d150d44db
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function sayHi() {
|
|||
}
|
||||
|
||||
// global functions are accessible as properties of window
|
||||
alert(window.sayHi);
|
||||
window.sayHi();
|
||||
```
|
||||
|
||||
And here we use it as a browser window, to see the window height:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue