4 ms·
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?
by twhb 5y ago
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?
- tnzm 5y agoThree words: embrace, extend, extinguish.