Last active
September 18, 2015 19:48
-
-
Save ceaksan/bf8d0520a450f2f6691f to your computer and use it in GitHub Desktop.
This file contains 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 reverseString(str) { | |
str = str.split('').reverse().join(''); return str; | |
} | |
reverseString("hello", ""); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment