Skip to content

Instantly share code, notes, and snippets.

@ahafidi
Created February 13, 2018 19:49
Show Gist options
  • Save ahafidi/8dabd263841144caf8e96fb834031534 to your computer and use it in GitHub Desktop.
Save ahafidi/8dabd263841144caf8e96fb834031534 to your computer and use it in GitHub Desktop.
const reverseString = str => [...str].reverse().join('');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment