From 2388389a037584d71726d9dd29f41b3b7c3dedb5 Mon Sep 17 00:00:00 2001 From: Bow Archer Date: Fri, 5 Nov 2021 12:49:56 -0700 Subject: [PATCH] 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` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32e53b9..2a0089d 100644 --- a/README.md +++ b/README.md @@ -878,7 +878,7 @@ function isEmailUsed(email: string): boolean { // ... } -if (!isEmailUsed(node)) { +if (!isEmailUsed(email)) { // ... } ```