{"action":"opened","issue":{"url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/3280","repository_url":"https://api.github.com/repos/mishoo/UglifyJS2","labels_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/3280/labels{/name}","comments_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/3280/comments","events_url":"https://api.github.com/repos/mishoo/UglifyJS2/issues/3280/events","html_url":"https://github.com/mishoo/UglifyJS2/issues/3280","id":371344302,"node_id":"MDU6SXNzdWUzNzEzNDQzMDI=","number":3280,"title":"Way to reduce +=1 to ++ in for loops?","user":{"login":"jamessouth","id":25541381,"node_id":"MDQ6VXNlcjI1NTQxMzgx","avatar_url":"https://avatars3.githubusercontent.com/u/25541381?v=4","gravatar_id":"","url":"https://api.github.com/users/jamessouth","html_url":"https://github.com/jamessouth","followers_url":"https://api.github.com/users/jamessouth/followers","following_url":"https://api.github.com/users/jamessouth/following{/other_user}","gists_url":"https://api.github.com/users/jamessouth/gists{/gist_id}","starred_url":"https://api.github.com/users/jamessouth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamessouth/subscriptions","organizations_url":"https://api.github.com/users/jamessouth/orgs","repos_url":"https://api.github.com/users/jamessouth/repos","events_url":"https://api.github.com/users/jamessouth/events{/privacy}","received_events_url":"https://api.github.com/users/jamessouth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T03:10:43Z","updated_at":"2018-10-18T03:10:43Z","closed_at":null,"author_association":"NONE","body":"**Bug report or feature request?**\r\n\r\nfeature req\r\n\r\n**Uglify version (`uglifyjs -V`)**\r\n\r\n3.4.9\r\n\r\n**JavaScript input**\r\n\r\n```\r\nfor(var i = 0; i < 3; i += 1){\r\n  console.log(i);\r\n}\r\n```\r\n\r\n**The `uglifyjs` CLI command executed or `minify()` options used.**\r\n\r\n```uglifyjs [filename.js]```\r\n\r\n**JavaScript output or error produced.**\r\n\r\n```for(var i=0;i<3;i+=1){console.log(i)}```\r\n\r\n\r\nmaybe this is a source code issue and outside the scope of minification, just wondering if there was/could be an option to turn +=1 and -=1 to ++ and -- ?\r\n"}}
{"actor":{"display_login":"jamessouth"}}