News for hackers. Stuff that matters.
Re:New ES2019 JavaScript features by nojvek on Friday September 27, 2019 @01:43AM (#21088785)
I think that’s exactly what the nullish ?? Operator is.

You can write x ?? y

Which is x !== null and x != undefined ? x : y

There are no comments on this comment yet.