EPISODE · Jun 8, 2026 · 10 MIN
EP12 — Truthy & Falsy Values
from Oh, That's Why. · host Gize Bonilla
Your condition fails on zero. An empty string passes when it should not.An empty array is truthy when you expected false.In this episode, Alex Vega explains the six falsy values, why those sixand not others, and the three logical operator patterns — OR defaults,AND guards, and nullish coalescing — that depend on this every day.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
EP12 — Truthy & Falsy Values
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.