Frage im Vorstellungsgespräch bei Funavry Technologies

Write a algorithm in JavaScript for finding palindrome.