Pregunta de entrevista de Camp K-12

Palindrome program in javascript, prime numbers