Oh, That's Why.

EP05 — Scope — Global, Function & Block

11 min · 20 de abr de 2026
portada del episodio EP05 — Scope — Global, Function & Block

Descripción

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 [https://medium.com/@gize.bonilla/846e426ed423].

Comentarios

0

Sé la primera persona en comentar

¡Regístrate ahora y forma parte de la comunidad de Oh, That's Why.!

Prueba gratis

Empieza 7 días de prueba

$99 / mes después de la prueba. · Cancela cuando quieras.

  • Podcasts solo en Podimo
  • 20 horas de audiolibros al mes
  • Podcast gratuitos

Todos los episodios

10 episodios