parent
46fd27a942
commit
0c249b1ca5
2 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ function sayHi() {
|
|||
alert("Hello");
|
||||
}
|
||||
|
||||
alert(window.f); // global function is a property of window
|
||||
alert(window.sayHi); // global function is a property of window
|
||||
```
|
||||
|
||||
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