JavaScript Promises Explained for Beginners
Why Promises Exist
The Problem with Callbacks
Before promises existed, developers used callbacks to handle asynchronous tasks. A callback is just a function passed into another function to be executed
purakhnath-jyani.hashnode.dev7 min read