class Foo {}
const r = func()
Foo.prop1 = r.prop1()
Foo.prop2 = r.prop2()
What am I missing? Why do we need all these new syntaxes? class Foo {}
const r = func()
Foo.prop1 = r.prop1()
Foo.prop2 = r.prop2()
What am I missing? Why do we need all these new syntaxes?