Skip to content

Instantly share code, notes, and snippets.

@craigw
Created July 20, 2009 19:36
Show Gist options
  • Save craigw/150799 to your computer and use it in GitHub Desktop.
Save craigw/150799 to your computer and use it in GitHub Desktop.
function(tag, counts) {
var sum = 0;
for(var i=0; i < counts.length; i++) {
sum += counts[i];
}
return sum;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment