skip to Main Content

Test urls in an array in JavaScript

I am trying to use something like this write a function in JavaScript that loops through an array of urls. Once a 'pingable' url is found the function should return its index number. function ping(url: string): Promise { return new…

VIEW QUESTION
Back To Top
Search