Nullish coalescing operator (??)
The Nullish coalescing operator(??) is a logical operator that returns the right side operand when its left side operand is null or undefined, otherwise it returns left side operand.
For Example:-
const foo = null ?? "it is foo"; // output it is...
my-blogs.hashnode.dev1 min read