9 lines
147 B
TypeScript
9 lines
147 B
TypeScript
//// [YieldExpression15_es6.ts]
|
|
var v = () => {
|
|
yield foo
|
|
}
|
|
|
|
//// [YieldExpression15_es6.js]
|
|
var v = function () {
|
|
yield foo;
|
|
};
|