title: How to make a foldl on the values returned by a selector in jQuery?
body: <p>Say I have some HTML elements:</p>
  
  <pre><code>&lt;div&gt;First&lt;/div&gt;
  &lt;div&gt;Second&lt;/div&gt;
  &lt;div&gt;Third&lt;/div&gt;
  </code></pre>
  
  <p>Whose content I select via a:</p>
  
  <pre><code>$('div').text();
  </code></pre>
  
  <p>How can I make a "foldl" operation on the elements (iterate, accumulating a result), for example to join them using a newline?</p>
  
  <pre><code>$('div').text().foldl('', function(){ ... join_or_whatever ... })
  </code></pre>