Directi Interview Question

Write a function for palindrome using JavaScript.