mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
21 lines
213 B
JavaScript
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) => {};
|
|
}
|
|
}
|