Nullish Coalescing Operator(??). A gift to modern developers.
What is it?
Nullish coalescing operator(??) is a logical opeartor that returns the value on right hand side, only if the value on the left hand side is "null" OR "undefined", otherwise returns the value on left hand side.
Syntax
left operand ?? right...
prashant3003.hashnode.dev2 min read