Codewars kyu 8 - Is it a palindrome ? javascript

Published --