Skip to content

Commit bf6adef

Browse files
committed
Stub typeof slide.
1 parent 70f478a commit bf6adef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@
144144
x // → undefined
145145
var y = 10;
146146
</section>
147+
<section data-markdown>
148+
## typeof
149+
150+
typeof x // → "undefined"
151+
x // throws a reference error
152+
var x;
153+
</section>
147154
<section data-markdown>
148155
## Why should I use var?
149156
</section>

0 commit comments

Comments
 (0)