Don’t make these JavaScript mistakes! JavaScript is a tricky language to learn especially when it comes to equality. Let’s take a look at some of the trickiest parts in this video: truth vs falsy, object vs primitive equality, double vs triple equals, and more!

  • 00:00 - Intro
  • 01:00 - Basic Truthy/Falsy
  • 03:10 - Object vs Primitive Equality
  • 05:30 - Numbers and Strings Can be Equal? And Added Together?
  • 08:00 - “false” is true(thy)
  • 09:45 - Empty Arrays/objects are not false

#javascript

5 Common JavaScript Mistakes with Equality
16.55 GEEK