The scope of the resolve and reject can be outside the function body. By explicitly defining them, the developer can give me them specific names.