Rich-Harris / butternut

The fast, future-friendly minifier
https://butternut.now.sh
MIT License
1.17k stars 17 forks source link

Method call on new object constructed without params yields invalid code #196

Open back2dos opened 6 years ago

back2dos commented 6 years ago

In other words new Date().getTime() becomes new Date.getTime which doesn't mean the same thing.

adamdupuis commented 5 years ago

I am also having this issue.

Duplicate of https://github.com/Rich-Harris/butternut/issues/169