Attached: lol.png (425x167, 9K)
JS Shenanigans
James Howard
Jayden Taylor
>==
cringe
Chase Cooper
What's wrong with this?
Carter Davis
weak typing bad
Leo Cook
>==
brainlet detected
Dominic Turner
>==
At least learn what you're doing.
Carter Young
OP's brain is too small to handle dynamic languages.
Julian Smith
There's literally nothing wrong with this, just use === if you don't wanna deal with it. When using == with operands of different types (with the exception of null and undefined) they're compared as if they were converted to Numbers.
Parker Bennett
Oh and for String to Boolean conversion, the empty string is falsy and any other string truthy.
Anthony Russell
this but unironically