9 lines
137 B
TypeScript
9 lines
137 B
TypeScript
//// [YieldExpression6_es6.ts]
|
|
function* foo() {
|
|
yield*foo
|
|
}
|
|
|
|
//// [YieldExpression6_es6.js]
|
|
function foo() {
|
|
yield* foo;
|
|
}
|