HEAD
Write a function that checks if a given string (case insensitive) is a palindrome.
No examples
function isPalindrome(x) {
return x.toLowerCase() == x.toLowerCase().split('').reverse().join('')
}
Try it yourself - CodeWars
Write a function that checks if a given string (case insensitive) is a palindrome.
No examples
function isPalindrome(x) {
return x.toLowerCase() == x.toLowerCase().split('').reverse().join('')
}
Try it yourself - CodeWars