Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff9c4f commit 59bc2d0Copy full SHA for 59bc2d0
README.md
@@ -273,13 +273,13 @@ function emailClients(clients) {
273
274
**Good:**
275
```javascript
276
-function emailClients(clients) {
+function emailActiveClients(clients) {
277
clients
278
- .filter(isClientActive)
+ .filter(isActive)
279
.forEach(email);
280
}
281
282
-function isClientActive(client) {
+function isActive(client) {
283
const clientRecord = database.lookup(client);
284
return clientRecord.isActive();
285
0 commit comments