9 lines
118 B
JavaScript
9 lines
118 B
JavaScript
![]() |
class X {
|
||
|
constructor() {
|
||
|
this.shortMethod = ::this.shortMethod;
|
||
|
}
|
||
|
|
||
|
shortMethod() {
|
||
|
return true;
|
||
|
}
|
||
|
}
|