Oh, That's Why.

EP07 — The Stack vs The Heap

9 min · 4 de may de 2026
Portada del episodio EP07 — The Stack vs The Heap

Descripción

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

Comentarios

0

Sé la primera persona en comentar

¡Regístrate ahora y únete a la comunidad de Oh, That's Why.!

Prueba gratis

Empieza 7 días de prueba

$99 / mes después de la prueba. · Cancela cuando quieras.

  • Podcasts solo en Podimo
  • 20 horas de audiolibros al mes
  • Podcast gratuitos

Todos los episodios

10 episodios