Understanding JavaScript Promise

Understanding JavaScript Promise