Camp K-12 interview question

Palindrome program in javascript, prime numbers