4 ms·
Crockford gives us a definition of truthy in Javascript as anything other than one of the six values such as 0 and NaN which evaluate to false. This maybe close
by lovemenot 13y ago
Crockford gives us a definition of truthy in Javascript as anything other than one of the six values such as 0 and NaN which evaluate to false. This maybe closer to your parent's intended meaning.