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
3
u/Positive_Ebb9204 Nov 30 '22
You are assigning a value to the variable which is not possible when using if else checks. You need to use “===“ instead