2021-07-26 23:31:45 +02:00

10 lines
106 B
JavaScript

async function* fn() {
class A {
[yield 1]() {}
}
class B extends A {
[await 1]() {}
}
}