Merge pull request #8 from amanbangad/patch-2

Update article.md
This commit is contained in:
Ilya Kantor 2017-06-06 14:31:27 +03:00 committed by GitHub
commit 99bc9bf01c

View file

@ -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: