1 2 3 4 5 6 7 8 9 10 11
function* gen() { try { yield 3; } finally { quit(); } } try { for (var i of gen()) foo(); } catch (e) {}