title: find largest id within array object using $.each
body: <pre><code>[{"id":1},{"id":2},{"id":3}]
  </code></pre>
  
  <p>I know I can use max like this var largest = Math.max.apply(Math, myArray) (if I have my array like this <code>[1,2,3]</code>) but since I have to loop through a list, I just wonder I can use loop to get the largest number;</p>
  
  <pre><code>$.each(function(){
  //this.id
  // how to continue here?
  });
  </code></pre>