Last active
September 14, 2018 18:29
-
-
Save Jontronics/9dda1160debe644e5128c093bf9cb322 to your computer and use it in GitHub Desktop.
Aye whats the gist
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 reverse(string) { | |
const array = string.split('') | |
return array; | |
} | |
console.log(reverse('hello-world')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment