Closed jridgewell closed 7 years ago
From the readme:
delete a?.b delete (a == null ? undefined : a.b) // does work as expected
This does not work as expected. Instead, delete has to be moved into the alternate:
delete
alternate
a == null ? undefined : delete a.b // does work as expected
You’re right; it will be corrected in the next revision.
From the readme:
This does not work as expected. Instead,
delete
has to be moved into thealternate
: