How to collect primitive values from each element into an array-like object?

Compact syntax with timing methods:

1
var values = $('.some').each().attr(name);

Compare this to the old way with more syntactic fluff:

1
2
3
var values = $('.some').map(function(){
   return $(this).attr(name);
});

Similar patterns with arrays of values

Similar patterns with open loops

Similar patterns with parallel loops