BeginnerJavaScript
Check if a string is a palindrome
Write a function that checks if a given string is a palindrome (reads the same forwards and backwards, ignoring spaces, punctuation, and capitalization).
Examples
Input: "A man a plan a canal Panama"
Output: true
Your Solution
Output
Click 'Run Code' to see the output