1 2 3 4 5 6 7 8 9 10 11 12
// register allocation involving doubles. function foo(a,b) { var c; if (a < b) { c = a + 1; } else { c = 0.5; } return c; } assertEq(foo(0, 1), 1);