Posts by CarolineMoran • 21 points
1 post
-
2
votes5
answers4944
viewsA: Function to check palindrome
so that the palindrome that starts with capital letters tb is counted as true use: function checkPalindrome(str) { return str.toLowerCase()==str.split('').reverse().join('').toLowerCase() }…