You Don't Know JS: Scope & Closures Chapter 4: Hoisting
YouDon'tKnowJS:Scope&ClosuresChapter4:HoistingBynow,youshouldbefairlycomfortablewiththeideaofscope,andhowvariablesareattachedtodifferentlevelsofscopedependingonwhereandhowtheyaredeclared.Bothfunctions