From a3e017509359994b1c6af35695a4ff9dc2662deb Mon Sep 17 00:00:00 2001
From: John-David Dalton Collection Functions (Arrays or Objects)
forEach function if it exists.
-_.each([1, 2, 3], function(num){ alert(num); }); +_.each([1, 2, 3], alert); => alerts each number in turn... -_.each({one : 1, two : 2, three : 3}, function(num, key){ alert(num); }); -=> alerts each number in turn...+_.each({one : 1, two : 2, three : 3}, alert); +=> alerts each number value in turn...
map_.map(list, iterator, [context])