Notas do episódio
You have written a variable. And from somewhere else in your code,
JavaScript acts like it does not exist.
In this episode, Alex Vega explains why — through a building analogy that
makes global scope, function scope, and block scope feel completely natural.
She also explains the classic for loop bug that catches almost every
JavaScript developer, and exactly why switching from var to let fixes it.
Five episodes in. Everything connects.
You can find the Medium article here.
Site: podcasters.spotify.com
