race and setTimeout. const promiseWithTimeout = promise => { let timeoutId; const timeoutPromise = new Promise((_, reject) => { timeoutId = ...
確定! 回上一頁