6 lines
75 B
TypeScript
6 lines
75 B
TypeScript
|
// @target: es6
|
||
|
class C {
|
||
|
public * foo() {
|
||
|
yield 1
|
||
|
}
|
||
|
}
|