2 ms·
|| short circuits on falsey. 0, “”, false, null, undefined ?? Short circuits on nullish. Only null and undefined.
by nojvek 7y ago
|| short circuits on falsey. 0, “”, false, null, undefined
?? Short circuits on nullish. Only null and undefined.