let promise1 = Promise.resolve() .then(res => console.log(1)) .then(res => console.log(2)) let promise2 = new Promise(resolve => { setTimeout(() =&g...