From Dev.to
Yes, [] == ![] Is True. No, JavaScript Isn't Broken (I Checked, Slowly).
Is JavaScript gaslighting me, or is there a logic to this? I hit this line at about 1 a.m., laptop on a pillow, one eye open. I read the result, read it again, and seriously considered that the langua...
