Files
2020-02-19 17:04:41 +00:00

21 lines
213 B
JavaScript

class C {
constructor(x) {
this.x = x;
}
method() {
this.x;
let closure = () => this.x;
}
get getter() {
return this.x;
}
}
class D {
constructor() {
this.f = (x) => {};
}
}