Skip to content

Instantly share code, notes, and snippets.

@talkol
Last active October 22, 2016 11:12
Show Gist options
  • Select an option

  • Save talkol/83e5cc18a3650d06724a52e2d340d83a to your computer and use it in GitHub Desktop.

Select an option

Save talkol/83e5cc18a3650d06724a52e2d340d83a to your computer and use it in GitHub Desktop.
const servers = [
'http://www.sevengramscaffe.com',
'http://www.hernanparra.co',
'http://www.thetimeandyou.com',
'http://www.luchoycarmelo.com'
];
pingServers(servers, function (failedServers) {
for (const url in failedServers) {
console.log(`${url} failed ${failedServers[url]} times`);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment