3 ms·
Yep. Both are stage-1 proposals: https://github.com/tc39/proposal-optional-chaining https://github.com/tc39/proposal-optional-chaining https://github.com/tc39
by kangax 8y ago
Yep. Both are stage-1 proposals:
https://github.com/tc39/proposal-optional-chaining https://github.com/tc39/proposal-optional-chaining
https://github.com/tc39/proposal-nullish-coalescing 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(...)`