Closed canmingir closed 8 months ago
I've tried with FORMAT_DEFAULTS
, it seems working with that like var date = new Date();
, I must be something with FORMAT_MINIFY
.
You can see the logic here.
Note that new Date
is correct JavaScript code.
In 2.1.0 version, escodegen generates above like this
var date=new Date
without arguments in parenthesis