Oh, That's Why.

EP05 — Scope — Global, Function & Block

11 min · 20. Apr. 2026
Episode EP05 — Scope — Global, Function & Block Cover

Beschreibung

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].

Kommentare

0

Sei die erste Person, die kommentiert

Melde dich jetzt an und werde Teil der Oh, That's Why.-Community!

Loslegen

2 Monate für 1 €

Dann 4,99 € / Monat · Jederzeit kündbar.

  • Podcasts nur bei Podimo
  • 20 Stunden Hörbücher / Monat
  • Alle kostenlosen Podcasts

Alle Folgen

10 Folgen