Y
Hacker News
new
|
ask
|
show
|
jobs
by
krzkaczor
2415 days ago
Funny fact: code in a second snippet (awaiting on promises invoked before) can result in node throwing `uncaught promise rejections` errors.
More info:
https://dev.to/gajus/handling-unhandled-promise-rejections-i...