EPISODE · May 4, 2026 · 9 MIN
EP07 — The Stack vs The Heap
from Oh, That's Why. · host Gize Bonilla
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 filingcabinet analogy — where primitives and objects actually live in memory,why objects are passed by reference, and why const objects can still bemutated.If you have ever been confused by object behavior in JavaScript, this is theepisode.Oh, That's Why. — JavaScript, finally making sense.You can find the Medium article here#JavaScript #Web Development #Programming #Software Engineering,#Learning to Code
Embed this episode
Ready to play
EP07 — The Stack vs The Heap
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.