Open samczsun opened 6 years ago
Input:
x = 1; if (false) { x--; } if (x == 0) { alert(1); }
Output:
x = 1; if (false) { 1; } if (true) { alert(1); }
Good one! The tricky part will be to discriminate when it’s ok to propagate values on more complex situations
Input:
Output: