Oh, That's Why.

EP10 — Type Coercion — The Basics

9 min · 25 de may de 2026
Portada del episodio EP10 — Type Coercion — The Basics

Descripción

"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

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

11 episodios