Welcome back.
Before we get into writing our first promise, let's take note about this fact when it comes to promise.
So here we go.
Point number one is when a promise is created first, it is independent state.
That's what we have talked about.
The next step is when a promise is resolved, it is in four failed states.
Again, we have talked about and when a promise is rejected, meaning fail, it is in the rejected state.
And this is the most crucial point we need to bear in mind, which says that when returning a promise
from a function, the function will return a promise, but not the value of the promise.
And the value of the promise will be retained when the promise is resolved.
So if these points are not clear to you, we will come back and then revisit as we move on.
So in the next video, let's start with how we can create our first promise.