Ticket #2528083 (closed defect)
Last modified: 12/12/12
|Summary:||Unlikely but syntactically valid expression changed by minification|
If you use double of either the unary prefix operators + or - on an expression, with a space between them to distinguish it from the unary prefix operators ++ and --, the space is stripped out.
var x = 10;
...is minified to:
var x=10;var y=--x;
...which of course ends with x and y having the value 9, instead of 10.
|Type:||defect||Observed in Version:||2.4.2|
|Assigned To:||Adam Moore||Target Release:|