Skip to content

Commit 0c249b1

Browse files
committed
1 parent 46fd27a commit 0c249b1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

2-ui/1-document/01-browser-environment/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function sayHi() {
2424
alert("Hello");
2525
}
2626

27-
alert(window.f); // global function is a property of window
27+
alert(window.sayHi); // global function is a property of window
2828
```
2929

3030
And here we use it as a browser window, to see the window height:

figures.sketch

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)