title: Parameters in bracket after a javascript function
body: <p>I found a solution for google maps marker on stack-overflow. 
  Here is the link. <a href="https://stackoverflow.com/questions/11106671/google-maps-api-multiple-markers-with-infowindows">Google Maps API Multiple Markers with Infowindows</a></p>
  
  <pre><code>google.maps.event.addListener(marker,'click', (function(marker,content,infowindow){ 
  return function() {
      infowindow.setContent(content);
      infowindow.open(map,marker);
  };
  })(marker,content,infowindow)); 
  </code></pre>
  
  <p>My question is: What is the purpose of (marker,content,infowindow) being placed behind the javascript function? And what is it called? 
  Thank you very much in advanced. </p>