Oh, That's Why.

EP09 — Primitives vs Reference Types

9 min · 18. maj 2026
episode EP09 — Primitives vs Reference Types cover

Description

You pass an object into a function. The function changes one property. You never returned anything. The original changed anyway. In the Season 2 opener, Alex Vega explains why through the Post-it and home address analogy — the most fundamental distinction in how JavaScript stores data. Accidental mutation, confusing const behavior, and broken equality checks all make complete sense by the end. You can find the Medium article here [https://medium.com/@gize.bonilla/8c5b38cac7bf]. Oh, That's Why. — JavaScript, finally making sense. #JavaScript, #Web Development, #Programming, #Software Engineering, #Learning to Code

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