fixed issues on compilation code:
var a = {b: 1};
var c = (a.b) ? 2 : 3;