This project is read-only.
1
Vote

Incorrect JavaScript Minification

description

After I've updated to latest version 1.1.3 the code below gets minified incorrectly

ORIGINAL:
var y;
y = parseInt(2015, 10);
y += y > 100 ? 0 : (y < 29 ? 2000 : 1900);
MINIFIED:
var y;y=parseInt(2015,10)+(y>100?0:y<29?2e3:1900)
MUST BE:
var y;y=parseInt(2015,10),y+=y>100?0:29>y?2e3:1900;

comments