Acorn targets es2016 by default, not es2017 or later. You have to specify the version. https://github.com/acornjs/acorn#main-parser
Acorn targets es2016 by default, not es2017 or later. You have to specify the version.
https://github.com/acornjs/acorn#main-parser