Closed rahbari closed 6 years ago
Does this proposal consider static inner class definition?
class Outer { static inner = class {} static #inner = class {} }
instead of
class Outer {} Outer.inner = class {}
this syntax could be so much helpful.
since those are class expressions, I’m not sure why it wouldn’t Just Work.
Yep, agree with @ljharb that it'll just work.
Does this proposal consider static inner class definition?
instead of
this syntax could be so much helpful.