Warmup - Racecar
Write a function that takes a string and returns true
if that string is a palindrome (the same forward and backward) and false
if it is not.
isPalindrome("bob"); // true
isPalindrome("baz"); // false
**Extra credit**: Make it so spaces, capital letters, and punctuation don't stop something from being a palindrome. E.g.:
var palindromeString = "I madam, I made radio! So I dared! Am I mad? Am I??"
isPalindrome(palindromeString); // true