Skip to content

Instantly share code, notes, and snippets.

@idealwebsolutions
Created March 9, 2017 08:39
Show Gist options
  • Save idealwebsolutions/b701fd721459f27db4dbcf1c7fc1bc88 to your computer and use it in GitHub Desktop.
Save idealwebsolutions/b701fd721459f27db4dbcf1c7fc1bc88 to your computer and use it in GitHub Desktop.
Basic palindrome (cheating way)
function checkPalindrome(inputString) {
return inputString === inputString.split('').reverse().join('')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment