Nullish coalescing operator
Introduction
Nullish coalescing operator (??) was introduced in the ECMAScript 2020 specification, which can be used to replace the logical OR operator for setting the default values.
Syntax:
left Operand ?? right Operand
The left operand is first ch...
vivek18.hashnode.dev2 min read