2018-01-09 15:36:42 +01:00

4 lines
56 B
JavaScript

function* test() {
(throw new Error(yield 'test'));
}