value lavenoitaua appends semicolons and it's not that useful
kapouer opened this issue · comments
Jérémy Lal commented
Let's say i want to do
'myfunc(' + args.map(arg => lave(arg, {generator: esgen})).join(', ') + ') { // some body }'
the semicolons just get in the way.
Jed Schmidt commented
you can use {format: {semicolons: false}}
in the escodegen options
to omit semicolons, or serialize an array and then remove the ends.
Jérémy Lal commented
Thank you for the tip.