Skip to content

Instantly share code, notes, and snippets.

@jonrandy
Created October 31, 2023 08:34
Show Gist options
  • Select an option

  • Save jonrandy/436a862e67fb27be022374b765e49b3d to your computer and use it in GitHub Desktop.

Select an option

Save jonrandy/436a862e67fb27be022374b765e49b3d to your computer and use it in GitHub Desktop.
isPalindrome
const isPalindrome = ([...s]) => ''+s == s.reverse()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment