3 ms·How does || differentiate null from e.g. 0 or ""?by coldtea 8y agoHow does || differentiate null from e.g. 0 or ""?GordonS 8y agoIt doesn't - it tests for a "truthy" value.