You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/11-async/06-promisify/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ As we can see, the new function is a wrapper around the original `loadScript` fu
50
50
51
51
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.
52
52
53
-
In practice we may need to promisify more than one function, so it makes sense to use a helper.
53
+
In practice we may need to promisify more than one function, so it makes sense to use a helper.
54
54
55
55
We'll call it `promisify(f)`: it accepts a to-promisify function `f` and returns a wrapper function.
0 commit comments