From d1ccc1e841ca982037d2207fb283f674caa9e22a Mon Sep 17 00:00:00 2001 From: Mike Frawley Date: Fri, 26 Feb 2010 08:47:36 -0600 Subject: [PATCH] remove unused index variable in forEach --- underscore.js | 1 - 1 file changed, 1 deletion(-) diff --git a/underscore.js b/underscore.js index 19e372da5..f6d68a690 100644 --- a/underscore.js +++ b/underscore.js @@ -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);