10 lines
127 B
JavaScript
10 lines
127 B
JavaScript
|
//// [YieldExpression7_es6.ts]
|
||
|
function* foo() {
|
||
|
yield foo
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression7_es6.js]
|
||
|
function foo() {
|
||
|
;
|
||
|
}
|