18 lines
261 B
JavaScript
18 lines
261 B
JavaScript
|
//// [YieldExpression19_es6.ts]
|
||
|
function*foo() {
|
||
|
function bar() {
|
||
|
function* quux() {
|
||
|
yield(foo);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression19_es6.js]
|
||
|
function foo() {
|
||
|
function bar() {
|
||
|
function quux() {
|
||
|
;
|
||
|
}
|
||
|
}
|
||
|
}
|