Skip to content

Commit

Permalink
Removing unused param.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Sep 7, 2013
1 parent 80e8f5d commit 9c15d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion underscore.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
// Counts instances of an object that group by a certain criterion. Pass
// either a string attribute to count by, or a function that returns the
// criterion.
_.countBy = group(function(result, key, value) {
_.countBy = group(function(result, key) {
_.has(result, key) ? result[key]++ : result[key] = 1;
});

Expand Down

0 comments on commit 9c15d2e

Please sign in to comment.