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