create a Promise var p1 = new Promise(function(resolve, reject) { resolve("Success"); }); //Execute the body of the promise which call resolve //So it ...
確定! 回上一頁