Day 1 Challenge

The Problem

Create a function that accepts a string and returns if it is a palindrome.

Example:

      isPalindrome('Red rum, sir, is murder') //true
      isPalindrome('No lemon, no melon') //true
      isPalindrome('Eva, can I see bees in a cave?') //true
      isPalindrome('My dogs are adorable') //false
      isPalindrome('I come in peace!') //false
      isPalindrome("Racecar") //true
      isPalindrome("HelloDevWorld") //false
      isPalindrome(9119) //true
      isPalindrome(12345) //false
      isPalindrome(72911927) //true
Previous
Previous

Advanced Palindrome Interview Question JavaScript