Question d’entretien chez Funavry Technologies

Write a algorithm in JavaScript for finding palindrome.