()
| 23 | |
| 24 | |
| 25 | function* g() { |
| 26 | try { |
| 27 | throw "a"; // Ordinary throw. Exception a |
| 28 | } catch (e) {} |
| 29 | try { |
| 30 | yield 1; // Caught internally. Exception b |
| 31 | } catch (e) {} |
| 32 | yield 2; |
| 33 | yield 3; // Caught externally. Exception c |
| 34 | yield 4; |
| 35 | } |
| 36 | |
| 37 | Debug.setListener(listener); |
| 38 | Debug.setBreakOnException(); |
no outgoing calls
no test coverage detected