Skip to content

Instantly share code, notes, and snippets.



Created Nov 1, 2012
What would you like to do?
console.log during an Underscore.js chain()
.filter(function(item) { return; })
log: function(arg) {
return arg;

This comment has been minimized.

Copy link
Owner Author

@froots froots commented Nov 1, 2012

Don't know why I didn't do this before. Very handy for quick debugging of intermediate chain states.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.