Oh, That's Why.

EP10 — Type Coercion — The Basics

9 min · 25. mai 2026
episode EP10 — Type Coercion — The Basics cover

Beskrivelse

"5" + 3 = "53". "5" - 3 = 2. JavaScript gets mocked for results like these. But the behavior follows documented, deterministic rules. In this episode, Alex Vega explains the three internal conversion rules JavaScript uses — ToString, ToNumber, and ToPrimitive — through the silent translator analogy. By the end, every coercion result makes sense. Oh, That's Why. — JavaScript, finally making sense. You can find the Medium article here [https://medium.com/@gize.bonilla/4141ff6590d8]. #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!

Prøv gratis

Prøv gratis i 14 dager

99 kr / Måned etter prøveperioden. · Avslutt når som helst.

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

Alle episoder

11 Episoder