Change implied variable name for consistency

The good example passes a variable with a different, less understandable name than the bad example.

The change is about the function name, not the variable name, so for consistency this should be `email` instead of `node`
This commit is contained in:
Bow Archer 2021-11-05 12:49:56 -07:00
parent 2172a87caf
commit 2388389a03

View file

@ -878,7 +878,7 @@ function isEmailUsed(email: string): boolean {
// ...
}
if (!isEmailUsed(node)) {
if (!isEmailUsed(email)) {
// ...
}
```