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