Answers for "how do i code that checks a number is palindrom"

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 "how do i code that checks a number is palindrom"

Code answers related to "C"

Browse Popular Code Answers by Language