Add missing variable declaration
This commit is contained in:
parent
db998d7279
commit
10cb98c038
|
@ -1,5 +1,5 @@
|
|||
const palindromes = function(string) {
|
||||
processedString = string.toLowerCase().replace(/[^a-z]/g, "");
|
||||
const processedString = string.toLowerCase().replace(/[^a-z]/g, "");
|
||||
return (
|
||||
processedString
|
||||
.split("")
|
||||
|
|
Loading…
Reference in New Issue