mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
6 lines
136 B
TypeScript
6 lines
136 B
TypeScript
// @target: ES6
|
|
function* gen() {
|
|
// Once this is supported, yield *must* be parenthesized.
|
|
var x = `abc${ yield 10 }def`;
|
|
}
|