title: How to pause a FOR loop in Javascript in a function?
body: <p>There's a query per second limit in Google Places API, so I need to slow down my loop which sends requests:</p>
  
  <pre><code>function callback(results, status) {
    if (status != google.maps.places.PlacesServiceStatus.OK) {
      alert(status);
      return;
    }
        for (var i = 0, result; result = results[i]; i++) {
      RequestInfo(result);
    }
  }
  </code></pre>
  
  <p>Any idea how I can do that? I'm a bit of a newb.</p>