ROGRAM TO CHECK WETHER ENTERED STRING IS PALINDROME code example
Example: check if palindrome
function isPalindrome(str) {
str = str.toLowerCase();
return str === str.split("").reverse().join("");
}
function isPalindrome(str) {
str = str.toLowerCase();
return str === str.split("").reverse().join("");
}