Algorithms

Palindrome:
simple: function Palindrome(p) { return p == p.split().reverse.join(); }

case insensitive: function palindrome(p) { let g = p.toLowerCase return g == g.split("").reverse.join("") }