Sep 4, 2018 · 1 min read
The examples used here would generate errors even without hoisting, correct? Hoisting just changes the error from one of the variable not existing to one of the variable not yet being assigned. Moral of the story — assign your variables before using them. Or, is there more to hoisting than this?
