17 lines
272 B
TypeScript
17 lines
272 B
TypeScript
//// [YieldExpression19_es6.ts]
|
|
function*foo() {
|
|
function bar() {
|
|
function* quux() {
|
|
yield(foo);
|
|
}
|
|
}
|
|
}
|
|
|
|
//// [YieldExpression19_es6.js]
|
|
function foo() {
|
|
function bar() {
|
|
function quux() {
|
|
yield (foo);
|
|
}
|
|
}
|
|
}
|