And by funny, I mean ridiculous π
but… it’s also ubiquitous. And it gives us all enough rope to… you know
Let’s start with its “truthfulness”
Why so random then, eh? π€
Behold… ‘s boolean handling right here π€£

fail π€¦ββοΈ
Let’s talk about Not a Number
Turns out, this value is not strictly equal to itself π

fail π€¦ββοΈ
It does silent typecasting and coercion of types
Whyy?? π€

fail π€¦ββοΈ
TypeOf BS
Wasn’t everything supposed to be an Object? π

fail π€¦ββοΈ
Real brogrammers use `eval()`
because `eval()` executes strings too π€ͺ

fail π€¦ββοΈ
`undefined` can be very vague
instead of throwing an error, for a non existent entity, you get the lie that it exists, it’s just… undefined π

fail π€¦ββοΈ
Empty stuff is `true`?
WAT? π³

fail π€¦ββοΈ
Sorting arrays is, well, DYI-ish
and inline passing of functions is tons of fun totally safe π

fail π€¦ββοΈ
Speaking of functions, welcome to Callback Hell
thou shalt not chain-invoke divisions by zero π

fail π€¦ββοΈ