Question d’entretien chez Cognizant

Write a program for Palindrome using javascript