diff options
author | Ryan Copley <github@ryancopley.com> | 2014-11-13 18:38:11 -0500 |
---|---|---|
committer | Ryan Copley <github@ryancopley.com> | 2014-11-13 18:38:11 -0500 |
commit | 1365aaa560595a1b1477f0e97d50436dcd424db7 (patch) | |
tree | 5ac972541dff0b134ed5e57dd76dcee14513481d /lib | |
parent | 232121251f601c9be7209f6382ee32180df676f1 (diff) | |
download | async-1365aaa560595a1b1477f0e97d50436dcd424db7.tar.gz |
Removed the slower forEach in async.each
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/async.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/async.js b/lib/async.js index a13f835..394c41c 100755 --- a/lib/async.js +++ b/lib/async.js @@ -42,9 +42,6 @@ }; var _each = function (arr, iterator) { - if (arr.forEach) { - return arr.forEach(iterator); - } for (var i = 0; i < arr.length; i += 1) { iterator(arr[i], i, arr); } |