Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eurasiantiger
on April 17, 2022
|
parent
|
context
|
favorite
| on:
I Avoid Async/Await
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).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: