We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728998b commit dbcbd45Copy full SHA for dbcbd45
1 file changed
1-js/06-advanced-functions/11-currying-partials/article.md
@@ -195,18 +195,18 @@ Now we can easily make a convenience function for current logs:
195
196
```js
197
// currentLog will be the partial of log with fixed first argument
198
-let currentLog = log(new Date());
+let logNow = log(new Date());
199
200
// use it
201
-currentLog("INFO", "message"); // [HH:mm] INFO message
+logNow("INFO", "message"); // [HH:mm] INFO message
202
```
203
204
And here's a convenience function for current debug messages:
205
206
207
-let todayDebug = currentLog("DEBUG");
+let debugNow = logNow("DEBUG");
208
209
-currentLog("message"); // [HH:mm] DEBUG message
+debugNow("message"); // [HH:mm] DEBUG message
210
211
212
So:
0 commit comments