In Javascript, how can an element of 1+ elements return false if compared to a boolean?
> [1, 2] == true
< false
> [1, 2] == false
< false
I know that if the array contains only a 0 or a 1 a casting will be done and the comparison will return true if 0 is compared to false or if 1 is compared to true.