- Synchronous functions block code from running until finished with the current block. Asynchronous functions don’t block other tasks from completing while waiting for callbacks.
2.- A callback hell is a chain of nested callbacks. A callback is a action the code is awaiting to execute once you get a response from another action.
- By using the Promise Library.