Changelog: swc v1.1.19
#
New features#619)#
Optional chaining in es (Code like
is now possible within ecmascript.
As it's stage 3, you need to set an option to use it. See the doc for the option.
#627)#
top-level await (swc
can parse codes like
As it's stage 3, you need to set an option to use it. See the doc for the option. Also, note that you need to target es2017 or higher to use this feature.