10 lines
135 B
JavaScript
10 lines
135 B
JavaScript
|
function* foo() {
|
||
|
return yield baz();
|
||
|
}
|
||
|
function* bar() {
|
||
|
return yield foo(baz);
|
||
|
}
|
||
|
function* baz() {
|
||
|
return yield bar();
|
||
|
}
|