Advanced JavaScript Flashcards

1
Q

Hoisting

A

JavaScript’s default behavior to move all declarations to the top of the scope

i.e. a variable can be defined after it’s declared

How well did you know this?
1
Not at all
2
3
4
5
Perfectly