mallet operator

Published on

1 min read

||= looks like a hammer, a mallet.

Found out about the “Mallet operator” aka “Logical OR assigment”

Through this https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment

More info on the Logical OR assignment on MDN