Oh, That's Why.

EP11 — == vs === (Loose vs Strict Equality)

10 min · I går
episode EP11 — == vs === (Loose vs Strict Equality) cover

Description

Someone told you to always use ===. You followed the advice without knowing why. In this episode, Alex Vega explains what triple equals and double equals actually do — through the strict versus lenient judge analogy — and introduces the one case where double equals is the right choice: the null check pattern. You can find the Medium article here [https://medium.com/@gize.bonilla/1f7ba94d375a]. Oh, That's Why. — JavaScript, finally making sense. #JavaScript, #Web Development, #Programming, #Software Engineering, #Learning to Cod

Comments

0

Be the first to comment

Sign up now and become a member of the Oh, That's Why. community!

Get Started

1 month for 9 kr.

Then 99 kr. / month · Cancel anytime.

  • Podcasts kun på Podimo
  • 20 lydbogstimer pr. måned
  • Gratis podcasts

All episodes

11 episodes