Why You Should Always Use === Instead of = in JavaScript! #coding #webdevelopment #javascriptbasics

preview_player
Показать описание
Ever wondered why JavaScript uses three equal signs (===) for comparisons instead of just one? In this quick video, I break down the difference between `=` (assignment), `==` (loose comparison), and `===` (strict comparison). Learn why using triple equals helps avoid tricky bugs and keeps your code clean and precise!

Don’t forget to like, subscribe, and hit the bell for more quick coding tips! 🚀
Рекомендации по теме
Комментарии
Автор

not matte a=a and 1.2=1.2 there never a=1.2. mean string and number. means it not matter if have 1.2 or "1.2# string way it is number 1.2. ofc depending language you use LOL

JarppaGuru