Nullish coalescing (??) And Optional chaining (?.)
Nullish coalescing (??)
nullish coalescing (??) operator is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, otherwise returns its left-hand side operand.
const name = null ?? 'Kashif';...
kashifhussainpathan.hashnode.dev3 min read