Add missing variable declaration

This commit is contained in:
James Hogan 2022-03-31 09:06:19 +11:00
parent db998d7279
commit 10cb98c038
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
const palindromes = function(string) { const palindromes = function(string) {
processedString = string.toLowerCase().replace(/[^a-z]/g, ""); const processedString = string.toLowerCase().replace(/[^a-z]/g, "");
return ( return (
processedString processedString
.split("") .split("")