New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Optional Chaining documentation to reflect the return from undefined to true #2142
Comments
Hey @mpaarating! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
@mpaarating Good catch! PR's welcome! |
Great, I'll start working on this ASAP! |
@JLHwung After looking into the docs for |
@mpaarating I think it will be great to add a section like delete nested properties because the behaviour is changed after 7.8 (to be aligned to the spec) and people may reply on the old behaviour. So it should be clarified in the docs. |
Per babel/babel#10805 and the subsequent PR , When using optional delete to delete a property of a nullish base, the delete operation returns now returns true. Should a distinction be made in the docs to support this change?
If so, I can make the corresponding change to the documentation.
The text was updated successfully, but these errors were encountered: