Promise 对象. const promise1 = new Promise((resolve, reject) => {. setTimeout(() => {. resolve(add(1, 2));. }, 1000);. });.
確定! 回上一頁