We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f215901 commit 461c852Copy full SHA for 461c852
09_palindromes/solution/palindromes-solution.js
@@ -1,6 +1,6 @@
1
const palindromes = function (string) {
2
// Since we only consider letters and numbers, create a variable containing all valid characters
3
- let alphanumerical = 'abcdefghijklmnopqrstuvwxyz0123456789';
+ const alphanumerical = 'abcdefghijklmnopqrstuvwxyz0123456789';
4
5
// Convert to lowercase, split to array of individual characters, filter only valid characters, then rejoin as new string
6
const cleanedString = string
0 commit comments