> 1 === 1
true
> 1 === 1 === 1
false
I understand why this happens, but itβs still interesting.
for real?
Please Login to reply.
Yeah I know, using numbers (or any other non-boolean type) in a boolean context ππ«
That's why you use lints, that catch such things.