Y
Hacker News
new
|
ask
|
show
|
jobs
by
fallingsquirrel
788 days ago
It's just downleveling the syntax so it runs in browsers that are too old to support `?.` (similar to what Babel would do). If you set your compile target to es2020 or later it will emit `?.` verbatim.