2014-07-13 01:04:16 +02:00
|
|
|
class P {
|
|
|
|
x = this;
|
|
|
|
static y = this;
|
|
|
|
|
2019-01-07 22:09:27 +01:00
|
|
|
constructor(public z = this, zz = this, zzz = (p = this) => this) {
|
|
|
|
zzz = (p = this) => this;
|
|
|
|
}
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
foo(zz = this) { zz.x; }
|
|
|
|
static bar(zz = this) { zz.y; }
|
|
|
|
}
|