Babel should transform delete obj?.#x.a
#11657
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Spec: Class Fields
Spec: Optional Chaining
Bug Report
Current behavior
A clear and concise description of the behavior.
Input Code
Expected behavior
A clear and concise description of what you expected to happen (or code).
It should be transformed something like
Note that
true
should be returned instead ofundefined
whenobj
is nullish.Environment
REPL
Additional Context
Follow-up to https://github.com/babel/babel/pull/11248/files#r430537770
The text was updated successfully, but these errors were encountered: