Merge pull request #243 from jamhog/add-declaration
palindromes: Add mising variable declaration
This commit is contained in:
commit
2518281b10
|
@ -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