Check if a Word is a Palindrome in JavaScript

Created at using the Javascript Code Generator tool.

Prompt

Result