Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scope & closures/ch4.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ While this all may sound like nothing more than interesting academic trivia, it
Function declarations that appear inside of normal blocks typically hoist to the enclosing scope, rather than being conditional as this code implies:

```js
foo(); // "b"
foo(); // TypeError!

var a = true;
if (a) {
Expand Down