Hacker News new | past | comments | ask | show | jobs | submit login

Good post. That safe navigation operator is very cool and something I wish you could do in JS.



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...


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.





Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: