DEV Community

Discussion on: Logical OR (||) vs Nullish Coalescing Operator (??) in JavaScript

Collapse
 
palcisto profile image
Patrick Alcisto

Nice article but, @ hrdyjan1 is right, your example implies it expects an object with a possible limit property, yet you never pass the limit as part of an object in the three invocations.