3 ms·
I think that’s exactly what the nullish ?? Operator is. You can write x ?? y Which is x !== null and x != undefined ? x : y
by nojvek 7y ago
I think that’s exactly what the nullish ?? Operator is.
You can write x ?? y
Which is x !== null and x != undefined ? x : y