Oh, That's Why.

EP06 — Closures

10 min · 27. apr. 2026
episode EP06 — Closures cover

Description

A function runs and returns. Its variables should be gone. And then another function uses one of them anyway. This is the episode the series was building toward. Alex Vega explains closures through the demolished room analogy — what they are, why they work, and why every callback, event handler, and React hook you have ever written is a closure. Six episodes in. The payoff. Oh, That's Why. — JavaScript, finally making sense. You can find the Medium article here [https://medium.com/@gize.bonilla/35f4192fc25d].

Comments

0

Be the first to comment

Sign up now and become a member of the Oh, That's Why. community!

Get Started

1 month for 9 kr.

Then 99 kr. / month · Cancel anytime.

  • Podcasts kun på Podimo
  • 20 lydbogstimer pr. måned
  • Gratis podcasts

All episodes

11 episodes