Oh, That's Why.

EP09 — Primitives vs Reference Types

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

Beskrivelse

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

Kommentarer

0

Vær den første til å kommentere

Registrer deg nå og bli medlem av Oh, That's Why. sitt community!

Kom i gang

2 Måneder for 19 kr

Deretter 99 kr / Måned · Avslutt når som helst.

  • Eksklusive podkaster
  • 20 timer lydbøker i måneden
  • Gratis podkaster

Alle episoder

10 Episoder