Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Minifier incorrectly minifies '+ ++' into '+++' #438

Closed
craigkovatch opened this issue Dec 22, 2015 · 0 comments
Closed

Minifier incorrectly minifies '+ ++' into '+++' #438

craigkovatch opened this issue Dec 22, 2015 · 0 comments

Comments

@craigkovatch
Copy link

We have a method:

return "somestring" + (++id);

When this is minified, it becomes

return 'somestring'+++id

Which yields a JS exception.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant