Jan-07-2019, 04:01 PM
I absolutely disagree with you. Let's take an empty array for example. In your browser's console (most browsers open it with F12, look at this sort of nonsense:
Here's a fun little video of other wacky things: https://www.destroyallsoftware.com/talks/wat
>> [] == false <- true >> if ([]) { "true" } <- "true"An empty array is BOTH false, AND evaluates to true.
Here's a fun little video of other wacky things: https://www.destroyallsoftware.com/talks/wat