Hacker News new | ask | show | jobs
by kangax 2691 days ago
Yep. Both are stage-1 proposals:

https://github.com/tc39/proposal-optional-chaining

https://github.com/tc39/proposal-nullish-coalescing

Recently started using optional chaining in our codebase (via Babel 7) and it's great so far. Also gives us proper static typing safety unlike Lodash `get(...)`