✨✨✨ Challenge your JavaScript programming limits step by step
Home Page:https://juejin.cn/column/7244788137410560055
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Sunny-117 opened this issue 2 years ago · comments
function main(urls:string[]) { const promises= urls.map((url)=>axios.get(url)) return Promise.race(promises) }