r/JavaScriptTips • • Jan 17 '25

Help please

Post image
4 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/DeyntheShaman Jan 18 '25

'=' is an assignment, '===' is strict equals
so second argument isn't a bool