Concept Flow - Variable hoisting behavior
Start Execution
Parse code
Hoist declarations
Initialize variables
Execute code line by line
Use variables
End Execution
JavaScript first moves variable declarations to the top (hoisting), then runs code line by line, so variables exist before their declaration line but may be undefined.