Implementations: Babel
I think Babel can [be selected](https://github.com/tc39/proposal-optional-chaining-assignment#implementations) since [`v7.23`](https://babeljs.io/blog/2023/09/25/7.23.0) and [`v8.0.0-alpha.3`](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.3):
- [x] Babel
Also, just landed two transformations related to **Optional Chaining Assignment** to 🐊[**Putout**](https://github.com/coderaiser/putout/#readme):
- [`convert-optiona-to-logical/assign`](https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#assign);
- [`apply-optional-chaining/assign`](https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-optional-chaining#assign);
Works good! Nice to have ability to fix runtime error:

So it is already useful :).
0 条评论