▲ Null Propagation Operator in JavaScript at ponyfoo.com▼25 up and 1 down, posted by ponyfoo 2663 days ago 5 comments
xat 2662 days ago. link parent 1 point ▲ ▼Yeah, I intentionally did the example with a number, because there you have the problem of 0 being falsy. The `??`-solution would be nice IMHO.