Skip to content

Commit

Permalink
remove unused index variable in forEach
Browse files Browse the repository at this point in the history
  • Loading branch information
ratbeard committed Feb 26, 2010
1 parent c519889 commit d1ccc1e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion underscore.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
// Handles objects implementing forEach, arrays, and raw objects.
// Delegates to JavaScript 1.6's native forEach if available.
var each = _.forEach = function(obj, iterator, context) {
var index = 0;
try {
if (nativeForEach && obj.forEach === nativeForEach) {
obj.forEach(iterator, context);
Expand Down

0 comments on commit d1ccc1e

Please sign in to comment.