resolve() will return a Promise that will resolve that return value directly. JavaScriptCopied! Promise.resolve(func1()).then(( ...
確定! 回上一頁