ispalindromo
var isPalindrome = function (x) {
const stringfyX = String(x)
.split('')
.join('')
const reverseX = String(x)
.split('')
.reverse()
.join('')
if (stringfyX === reverseX) return true
return false
}
Stormy Swan