jquery/jquery — pull request #660 by lrsjng (2012-01-20 13:48:05+00:00)
Title: jQuery.fold() and jQuery.fn.fold feature

A method i often use to reduce a set of elements to a single value.

Use it like

var result = $(selector).fold( function (current) {
return current + $(this).height();
}, 0);

Syntax is

.fold( callback, initialValue )

with

callback( currentValue, index, element ) in the element's context

Maybe it is useful for others too... just a suggestion