14 lines
188 B
JavaScript
14 lines
188 B
JavaScript
|
//// [YieldExpression16_es6.ts]
|
||
|
function* foo() {
|
||
|
function bar() {
|
||
|
yield foo;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression16_es6.js]
|
||
|
function foo() {
|
||
|
function bar() {
|
||
|
;
|
||
|
}
|
||
|
}
|