8 lines
No EOL
92 B
TypeScript
8 lines
No EOL
92 B
TypeScript
//@target: ES6
|
|
function* g() {
|
|
let x = {
|
|
[yield 0]() {
|
|
|
|
}
|
|
}
|
|
} |