summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrasseh <steve.gagnev4si@gmail.com>2017-09-12 14:30:33 -0400
committerGrasseh <steve.gagnev4si@gmail.com>2017-09-12 14:30:33 -0400
commit3aa2fc05dd48961b6f622621d4680dae26ffefdc (patch)
tree0b60e4fcede8ceb3e0bbcc008b063f58b0828634
parentfa206affed3a13261c4fb4b314a5bf0df8e50308 (diff)
downloadasync-3aa2fc05dd48961b6f622621d4680dae26ffefdc.tar.gz
Fix tryEach documentation code example
-rw-r--r--lib/tryEach.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tryEach.js b/lib/tryEach.js
index 025f7c9..df9b68f 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);