Nice catch!
I would just like to say that recently I found myself writing something like:
```js
a?.b = c;
```
and trying to guess why it did not work, until I realized that the optional chaining was on the left side of an assignment, not on the right.
For one moment that rule felt completely arbitrary.
Thanks for your proposal!
Feel free to close this issue ^_^
0 条评论