documentcloud/underscore — Issue #407: give _.invoke iterator option
Author: chickenwing
Created: 2011-12-16 17:48:20+00:00
State: open

feature request:

i would love doing something like

_.invoke(list, methodName, function(key,num) {return key})

iterator providing arguments for the method