Hacker News new | ask | show | jobs
by zhawn 1165 days ago
Not sure if I'm missing some sarcasm but JavaScript has had the equivalent Optional chaining operator for years now

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

2 comments

No, I honestly didn’t know about it! I should have googled it before making my comment… Thanks for letting me know.
Everyone likes to bag on JS without being willing to learn.