title: How to ping IP addresses using JavaScript
body: <p>I want to run a JavaScript code to ping 4 different IP addresses and then retrieve the packet loss and latency of these ping requests and display them on the page.</p>
  
  <p>How do I do this?</p>