Nullish coalescing operator (??) in Javascript

Nullish coalescing operator (??), introduced in ECMAScript 2020 (ES11), simplifies the process of handling default values for variables…