Skip to content

Commit

Permalink
fix(docs): fix code example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juanarbol committed Feb 3, 2020
1 parent 1feecdc commit 53a6892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/v3/whilst.js.html
Expand Up @@ -101,7 +101,7 @@ <h1 class="page-title">whilst.js</h1>
*
* var count = 0;
* async.whilst(
* function test(cb) { cb(null, count &lt; 5;) },
* function test(cb) { cb(null, count &lt; 5); },
* function iter(callback) {
* count++;
* setTimeout(function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/whilst.js
Expand Up @@ -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() {
Expand Down

0 comments on commit 53a6892

Please sign in to comment.