-A promise is used to determine the outcome of a task (resolve or reject).
resolve
reject
const makeServerRequest = new Promise((resolve, reject) => { });