The double question mark operator is called the nullish coalescing operator, and it’s a new feature of JavaScript ES2020 that allows you provide a default value to use when a variable expression evaluates to null or undefined .
The double question mark operator is called the nullish coalescing operator, and it’s a new feature of JavaScript ES2020 that allows you provide a default value to use when a variable expression evaluates to null or undefined .