Update article.md

The old code doesn't work. 
Is this what you wanted to show?
This commit is contained in:
Aman Bangad 2017-06-05 09:59:09 -04:00 committed by GitHub
parent 168b273caa
commit 8d150d44db

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: