12 lines
138 B
TypeScript
12 lines
138 B
TypeScript
|
//// [YieldExpression3_es6.ts]
|
||
|
function* foo() {
|
||
|
yield
|
||
|
yield
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression3_es6.js]
|
||
|
function foo() {
|
||
|
;
|
||
|
;
|
||
|
}
|