Java Script program to Reverse and Palindrome

java script program to print reverse of given number and check given number is palindrome or not.