4 lines
122 B
TypeScript
4 lines
122 B
TypeScript
function* gen {
|
|
// Once this is supported, yield *must* be parenthesized.
|
|
var x = `abc${ yield 10 }def`;
|
|
}
|