function funcA(val){ return new Promise(function(resolve, reject){ window.setTimeout(function(){ console.log('A'); resolve(val); }, (Math.random() + 1) * 1000); }); ...
確定! 回上一頁