Skip to content

Commit 6fa2e48

Browse files
committed
Add challenge hoisting question.
1 parent 50b48fc commit 6fa2e48

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,18 @@
275275

276276
Well, almost...
277277
</section>
278+
<section data-markdown>
279+
## Function definition crap
280+
281+
var y = function () { ... };
282+
// What's the difference?
283+
function y() { ... }
284+
</section>
285+
<section data-markdown>
286+
### Answer
287+
288+
Hoisting.
289+
</section>
278290
</section>
279291
</div>
280292
</div>

0 commit comments

Comments
 (0)