Truthiness of Integer Arrays
We can consider the truthiness of [1]
as follows:
We can consider the truthiness of [0]
as follows:
The truthiness of [0]
does not seem to be consistent.
See this JavaScript Equality Table for more details.
Last updated