Nullish Coalescing
ES2020
1 min readApr 9, 2020
The ES2020 was just approved by the TC39 committee, and in the proposal, Nullish Coalescing is a thing. What is Nullish Coalescing? Well, it’s another way to assign values other than using the OR operators we might normally use.
The Nullish Coalescing operator returns the results of the right-hand-side expression if the left-hand-side expression is either null
or undefined.