10 lines
139 B
TypeScript
10 lines
139 B
TypeScript
|
//// [YieldExpression9_es6.ts]
|
||
|
var v = function*() {
|
||
|
yield(foo);
|
||
|
}
|
||
|
|
||
|
//// [YieldExpression9_es6.js]
|
||
|
var v = function () {
|
||
|
;
|
||
|
};
|