5 Common JavaScript Mistakes with Equality

preview_player
Показать описание
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

_____________________________________________

Newsletter 🗞
Interested in exclusive content and discounts? 🤯 Sign up for the newsletter!
_____________________________________________

Connect with me 😀
_____________________________________________

COURSES 💻
Рекомендации по теме
Комментарии
Автор

Want to see more JavaScript mistake videos? Let me know 👇

JamesQQuick
Автор

on fifth, instead of checking else if(arr.length===0) you can check else if(arr.length) only. very good video. thanks

rohitjha
Автор

Awesome video, would love to see more common mistakes video. 🚀

aayushbisen
Автор

I am new to JavaScript I share my video when I learn them, but I bookmarked your channel. You are amazing ❣️

SadDamniT
Автор

Would definitely want to see the common mistakes series.

stemuganwa
Автор

Hey James, just subscribed. What plugin are you using that displays the log on the right, that is pretty cool as it is able to evaluate the if condition

nashsaint
Автор

Hey, James! What is the editor do you use in video? I really like it!

konser
Автор

Any one know the name of the extensión that show you console.log without go to the browser or terminal?

WilCODE_
Автор

Man can you please make a video on vscode for complete beginners for web developement

darkseid
Автор

Why is the empty String considered falsy but not the empty array and empty object ?

lucasmendonca
Автор

Hi Sir, I noticed that the is a square marker on the left side of the code. Where is that coming from? Thanks 😁

MediumSizeNoob
Автор

Hi James! I'll vote you as the top #ProWebDeveloperOnline !👍💪

namankumar
Автор

What I do when it comes to array is check for the length.

sokoyaadedolapo
Автор

The real question is: who made the mistake? The developer or the designer of the language?

tipeon