that would seem a bit dangerous - its a specific assumption that `undefined` would have any relation
that would seem a bit dangerous - its a specific assumption that
Also please note,
undefined would have any relation to null. You would need to handle these specifically yourself.Also please note,
|| operator works on falsy/truthy. null, NaN, 0, "" and undefined would all end as null in your example above.
