Access multiple return objects with $.when.apply & derferreds
<p>I have code like this, </p>

<pre><code>var deffereds = $(someArray).map(function(index, ele) {
  return $.Deferred(function(def) {
      //Do Some custom thing with ele here
      def.resolve(someValue); //SomeValue will be differnt for each element
  });
});
$.when.apply(null, deffereds.get()).then(function (r1,r2,...) { // &lt;-- Here is the problem
   //How Can I access responses from all the deffereds?
});
</code></pre>

<p>My Question is how can I access responses from all the deffereds ?
as the count of items in someArray is dynamic.</p>
