Nullish coalescing and optional chaining in JavaScript
Nullish coalescing operator
The nullish coalescing operator (??) is a logical operator that returns the right-side operand when the operand on its left-side either evaluates to null or undefined.
Unlike to logical OR operator (||) which returns the r...
blog.timfon.dev3 min read