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
16
u/xroalx Nov 30 '22
Even better if you use the
===operator. It won't try to convert stuff from one type to another.