10000
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.
2 parents 0a8199a + 20cd844 commit 3a3bb90Copy full SHA for 3a3bb90
README.md
@@ -272,13 +272,13 @@ function emailClients(clients) {
272
273
**Good:**
274
```javascript
275
-function emailClients(clients) {
+function emailActiveClients(clients) {
276
clients
277
- .filter(isClientActive)
+ .filter(isActiveClient)
278
.forEach(email);
279
}
280
281
-function isClientActive(client) {
+function isActiveClient(client) {
282
const clientRecord = database.lookup(client);
283
return clientRecord.isActive();
284
0 commit comments