The general question I suppose is: when does || return the item on the left, and when does it return the item on the right?
The specific question, is why doesn\'t t
It returns the first true from the left. If no true it returns false. If the expressions resolve to true, in case of a Boolean or a non-zero or non-null or non-undefined value.
true
false
Yes, the value has to be truthy...not only true.