0
Checks if the given string is a palindrome.
Filename pattern: *.js
*.js
0 Comments
const isPalindrome = (value) => { const chars = value.split(''); return chars.every((char, index) => char === chars[chars.length - 1 - index]); };