Re:I Avoid Async/Await
by eurasiantiger on Sunday April 17, 2022 @11:08AM
(#31061365)
That’s one of the neat things about JS: even outside the prototypal inheritance chain, classes can be (partially) composed of generalized, reusable functions, a bit like traits. Just import a function and bind it in the constructor (call).
[ Parent
| on HN ]
There are no comments on this comment yet.