JS Hoisting and Lexical Scope in 8 minutes
Channel: Jantcu
Date: 2020-02-12

This video gives a quick overview to help you understand what hoisting is in javascript and how that can impact variable declarations that use lexical scoping. We briefly go over the differences between the "var" and the "let" keywords and show some examples of how block scoping behaves.

Hoisting definition is based on https://www.w3schools.com/js/js_hoisting.asp

Lexical scope definition is based on https://stackoverflow.com/questions/1047454/what-is-lexical-scope