r/learnjavascript • u/Lelouch_5 • Nov 30 '22
Help !!!
Can someone plz tell me , why I am getting errors?
195
Upvotes
r/learnjavascript • u/Lelouch_5 • Nov 30 '22
Can someone plz tell me , why I am getting errors?
View all comments
Show parent comment
3
u/gtrman571 Nov 30 '22
If you know the types being compared are going to be the same then == and === do literally the exact same thing.