this for loop iterates over each of the bounding boxes in bboxArray. For each bounding box it creates a function and stores it in req. This function when called will request the places from Google Maps and then pass the results into a callback that will be passed the results and pagintation. So it would be called req(function(results,pagination){//whatever you want to do}. These req functions are pushed to an array that is returned.