Variables
Declare with let. Assignment (=) targets an existing binding.
Variables are lexically scoped. Blocks, functions, and loops introduce new scopes; inner scopes can shadow outer names.
Declare with let. Assignment (=) targets an existing binding.
Variables are lexically scoped. Blocks, functions, and loops introduce new scopes; inner scopes can shadow outer names.