palindrome program in javascript explanation

welcome to shbcf.ru