From 3aa2fc05dd48961b6f622621d4680dae26ffefdc Mon Sep 17 00:00:00 2001 From: Grasseh Date: Tue, 12 Sep 2017 14:30:33 -0400 Subject: [PATCH] Fix tryEach documentation code example --- lib/tryEach.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tryEach.js b/lib/tryEach.js index 025f7c9eb..df9b68fa0 100644 --- a/lib/tryEach.js +++ b/lib/tryEach.js @@ -23,7 +23,7 @@ import slice from './internal/slice'; * `result` arguments of the last attempt at completing the `task`. Invoked with * (err, results). * @example - * async.try([ + * async.tryEach([ * function getDataFromFirstWebsite(callback) { * // Try getting the data from the first website * callback(err, data);