promise.timeout 给一个async function 加上超时支持, 就是你原来的返回值是一promise, ... function test(){ // 20ms 后去resolve return new Promise(resolve ...
確定! 回上一頁