Javascript optional chaining is working in Observable runtime. like:
foo?.bar?.property
But the auto code formatting (a.k.a. Prettier in current build of Observable, including the ‘Next’ Observable) is not supported. When there is “?.” in codes, it will fail and console will output errors.
I’ve tried the latest online version of Prettier (https://prettier.io/) and it’s now supported. I think maybe it’s time to update the auto formatting logic?