Created
September 17, 2019 10:25
-
-
Save seunggabi/db3586c49d992405bbb725565d26972e to your computer and use it in GitHub Desktop.
reverseString.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function reverse(str) { | |
return str.split('').reserve().join('') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment