Assignment - Palindrome Part 2

Determine if a word is a palindrome. Below are strings to test against. Take the strings below and test to see if they are a palindrome. A palindrome is a word that is spelled the same way forwards and backwards.

Hints, you will most likely use split() and join() which are array methods.

You are not allowed to use the any loops in this assignment. No For, Each, While, or other loops. You will probably want to turn the String into an array, re-arrange it, and turn it back into a String.

Example input

Output: