DEV Community

Discussion on: How to Determine if a String is a Palindrome (in JavaScript)

Collapse
 
jonrandy profile image
Jon Randy 🎖️
const isPalindrome = s=>[...s].reverse().join('')==s
Enter fullscreen mode Exit fullscreen mode