My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Asynchronous Functions 101

Asynchronous Functions 101

Joshua Spac's photo
Joshua Spac
·Apr 14, 2017

One of the major advantages of JavaScript is that everything is asynchronous. For the most part, different parts of your code don't affect the execution of others. doALongThing(() => console.log("I will be logged second!")); console.log("I will be logged first!"); Unfortunately, this is also one of