7 ms·
> I've come to see this ubiquitous string of symbols, ?? "", as the JS equivalent to .unwrap() in Rust Isn't this more like `unwrap_or`?
by clnhlzmn 10mo ago
> I've come to see this ubiquitous string of symbols, ?? "", as the JS equivalent to .unwrap() in Rust
Isn't this more like `unwrap_or`?
- aeonfox 10mo agoIt's sloppy writing but they do make the distinction over the rest of the paragraph.
- fred_ 10mo agoAuthor here. It is. I did a poor job explaining what I meant by this. I tried to elaborate https://news.ycombinator.com/item?id=46089466 https://news.ycombinator.com/item?id=46089466. I'll also update the article to reflect this:) Thanks for pointing it out:)