Qualtrics interview question

Javascript palindrome checker