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

11 lines
189 B
JavaScript

(function* () {
const a = function.sent;
const b = function.sent;
yield 4;
const c = function.sent;
const d = yield;
const e = function.sent;
return [ a, b, c, d, e ];
}());