Skip to content

fix: ReferenceError email is not defined#703

Closed
ravirajbhardwaj wants to merge 1 commit intoryanmcdermott:masterfrom
ravirajbhardwaj:master
Closed

fix: ReferenceError email is not defined#703
ravirajbhardwaj wants to merge 1 commit intoryanmcdermott:masterfrom
ravirajbhardwaj:master

Conversation

@ravirajbhardwaj
Copy link

@ravirajbhardwaj ravirajbhardwaj commented May 9, 2025

Your Example :

function emailActiveClients(clients) {
  clients.filter(isActiveClient).forEach(email);
}

Error: ReferenceError email is not defined

I fix example

function emailActiveClients(clients) {
  clients.filter(isActiveClient).forEach(email => email);
}

@ravirajbhardwaj ravirajbhardwaj closed this by deleting the head repository May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant