JavaScript Promise

Read the tutorial on YogiHosting

1. Promise works asynchronously

2. Promise Resolves in 2 seconds time

3. Promise Rejects

4. Promise Chaining

5. Javascript Promise to call an API