⬅️ Execute Program JavaScript Concurrency
- One important thing to keep in mind: the
resolve
function that we get from the constructor is separate from thePromise.resolve
method. And thereject
function here is separate from thePromise.reject
method.