Javascript Logical OR assignment ||=
Aug 15, 2021 · 1 min read · The logical OR assignment (||=) operator is a new operator offered by JavaScript that one can use to check a variable for falsy-ness or truthy-ness and then assign a different value based on the variable’s truth-ness or false-ness. If used wisely, th...
Join discussion



