Hacker News new | past | comments | ask | show | jobs | submit login

Then the promises should have been advertised as a part of async/await syntax. But many articles promote using them by themselves.



Promises existed way before they were put in the specification and way before async/await. So no, promises could not have been advertised as part of async/await since they came before async/await.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: