var promise = new Promise(function(resolve, reject) { // ... if (異步 ... Promise 物件生成後,可以用then() 方法來綁定當fulfilled 或rejected ...
確定! 回上一頁