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

5 lines
53 B
JavaScript

function* foo() {
let a = yield;
return yield;
}