diff options
author | Juan José <soyjuanarbol@gmail.com> | 2020-02-15 20:05:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 17:05:09 -0800 |
commit | 2f329d082c8bdd0d92603574d8fafcd24f1a8533 (patch) | |
tree | b8028f7de245304431ff2ceef9c9ed75234c2296 | |
parent | 1feecdcf4955d1ad73eb4f90d4895bc121dfbb0a (diff) | |
download | async-2f329d082c8bdd0d92603574d8fafcd24f1a8533.tar.gz |
fix(docs): fix code example in whilst docs (#1703)
-rw-r--r-- | lib/whilst.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/whilst.js b/lib/whilst.js index 361b72d..cc0f918 100644 --- a/lib/whilst.js +++ b/lib/whilst.js @@ -24,7 +24,7 @@ import awaitify from './internal/awaitify'; * * var count = 0; * async.whilst( - * function test(cb) { cb(null, count < 5;) }, + * function test(cb) { cb(null, count < 5); }, * function iter(callback) { * count++; * setTimeout(function() { |