Understand JavaScript scope and hoisting mechanics. Learn the differences between global, local, block scope, and how variable initialization works.