Skip to content
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 with deletion change #2145

Conversation

mpaarating
Copy link
Contributor

Description

Per #2142, the 7.8 release includes a change to the return value of a delete operation on a nullish base. Previously, it had returned undefined, but now returns true. This PR adds documentation that indicates this change.

Screenshot

Image from Gyazo

Prior to babel version 7.8, deleting a property with a nullish base
returned undefined. The default behavior in 7.8+ returns true.
@netlify
Copy link

netlify bot commented Dec 13, 2019

Deploy preview for babel failed.

Built with commit e648338

https://app.netlify.com/sites/babel/deploys/5e18e97b294adb0008391aa7

@nicolo-ribaudo
Copy link
Member

Thanks!

@nicolo-ribaudo nicolo-ribaudo merged commit 95e45e5 into babel:master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants