12 lines
154 B
JavaScript
12 lines
154 B
JavaScript
|
//// [YieldExpression8_es6.ts]
|
||
|
yield(foo);
|
||
|
function* foo() {
|
||
|
yield(foo);
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression8_es6.js]
|
||
|
yield(foo);
|
||
|
function foo() {
|
||
|
;
|
||
|
}
|