Async, sync, fetch the promises

Asynchronous

and

Synchronous

While things are happening it gets other things so that it doesn’t take forever to load up.

Synchronous code is when code continues off only when the previous piece of code finishes.

Asynchronous code runs while other code is running.

To put in perspective, think about you going to eat at a restaurant.

Let’s say you order appetizers of wings, main entree of burgers with fries, and a desert of…