a.js function p1(params) { return new Promise((resolve, reject) => { if (params === 1) { resolve(1) } else if (params === 2) { reject(2) } ...
確定! 回上一頁