From 2f329d082c8bdd0d92603574d8fafcd24f1a8533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9?= Date: Sat, 15 Feb 2020 20:05:09 -0500 Subject: [PATCH] fix(docs): fix code example in whilst docs (#1703) --- lib/whilst.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/whilst.js b/lib/whilst.js index 361b72d9a..cc0f91886 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() {