11 lines
165 B
TypeScript
11 lines
165 B
TypeScript
//// [YieldExpression8_es6.ts]
|
|
yield(foo);
|
|
function* foo() {
|
|
yield(foo);
|
|
}
|
|
|
|
//// [YieldExpression8_es6.js]
|
|
yield(foo);
|
|
function foo() {
|
|
yield (foo);
|
|
}
|