> js = jsfmt.rewrite(js, "_.each(a, b) -> a.forEach(b)");
Of course _.each handles objects (not just arrays) and returns its input (where Array#forEach returns undefined), and there does not seem to be any type-based conditions (or otherwise) so you've got a souped-up sed, not something you can add to any sort of automated workflow.