結果 : write a program to check whether a string is a palindrome string in javascript