Created
March 18, 2014 03:09
-
-
Save alexserver/9612853 to your computer and use it in GitHub Desktop.
functional programming blowmind
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var everyDocument = function (collection, fn, a, b, c) { | |
return collection.forEach(function(element, index){ | |
fn(element, index, a, b, c); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment