I'm wondering how to construct a palindrome in javascript, where I enter different words and the software determines whether or not the word is a palindrome. For example, the word noon is a palindrome, although the word terrible is not.
Thank you ahead of time.