Closed
Description
Bug Report
π Search Terms
esnext, class, static
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
β― Playground Link
Playground link with relevant code
π» Code
class C {
static t = () => this
}
π Actual behavior
class C {
}
C.t = () => this;
And with an exception.
π Expected behavior
class C {
static t = () => this
}
Works fine. And:
C.t() === C // true
Metadata
Metadata
Assignees
Labels
No labels