title: JQuery map vs Javascript map vs For-loop
body: <p>I'm implementing some code that is a natural fit for map. However, I have a significant amount of objects in a list that I'm going to iterate through, so my question is which is the best way to go abou this:</p>
  
  <pre><code>var stuff = $.map(listOfMyObjects, someFunction())
  
  var stuff = listOfMyObjects.map(someFunction())
  </code></pre>
  
  <p>or just</p>
  
  <pre><code>var stuff = new Array(); 
  for(var i = 0; i &lt; listOfmyObjects.length; i++){
      stuff.push(someFunction(listOfMyObjects[i]));
  }
  </code></pre>