From 6db57d9494c2a7ca7793dc96378279d481b74a29 Mon Sep 17 00:00:00 2001 From: LeviDing Date: Mon, 16 Nov 2020 15:53:33 +0800 Subject: [PATCH] Update article.md --- 1-js/11-async/06-promisify/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/11-async/06-promisify/article.md b/1-js/11-async/06-promisify/article.md index ac949989..1d81b31a 100644 --- a/1-js/11-async/06-promisify/article.md +++ b/1-js/11-async/06-promisify/article.md @@ -50,7 +50,7 @@ As we can see, the new function is a wrapper around the original `loadScript` fu Now `loadScriptPromise` fits well in promise-based code. If we like promises more than callbacks (and soon we'll see more reasons for that), then we will use it instead. -In practice we may need to promisify more than one function, so it makes sense to use a helper. +In practice we may need to promisify more than one function, so it makes sense to use a helper. We'll call it `promisify(f)`: it accepts a to-promisify function `f` and returns a wrapper function.