Nullish Coalescing

ES2020

Niall Maher

--

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.

--

--

Niall Maher

Writing about my thoughts on running a tech startup, personal growth and building stuff that people love!