Answers for "checks whether a number is a palindrome."

C++
-1

check if palindrome

function isPalindrome(str) {
  str = str.toLowerCase();
  return str === str.split("").reverse().join("");
}
Posted by: Guest on August-17-2020

Code answers related to "checks whether a number is a palindrome."

Browse Popular Code Answers by Language