Oh, That's Why.

EP07 — The Stack vs The Heap

9 min · 4 mei 2026
aflevering EP07 — The Stack vs The Heap artwork

Beschrijving

You assign an object to a new variable. Change a property on the copy. The original changes too. Try the same with a number — it doesn't. In this episode, Alex Vega explains why through the whiteboard and filing cabinet analogy — where primitives and objects actually live in memory, why objects are passed by reference, and why const objects can still be mutated. If you have ever been confused by object behavior in JavaScript, this is the episode. Oh, That's Why. — JavaScript, finally making sense. You can find the Medium article here [https://medium.com/@gize.bonilla/a1c02b85bc35] #JavaScript #Web Development #Programming #Software Engineering, #Learning to Code

Reacties

0

Wees de eerste die een reactie plaatst

Meld je nu aan en word lid van de Oh, That's Why. community!

Probeer gratis

Probeer 14 dagen gratis

€ 9,99 / maand na proefperiode. · Elk moment opzegbaar.

  • Podcasts die je alleen op Podimo hoort
  • 20 uur luisterboeken / maand
  • Gratis podcasts

Alle afleveringen

11 afleveringen