Skip to content

Instantly share code, notes, and snippets.

@KimSarabia
Created November 11, 2015 23:59
Show Gist options
  • Save KimSarabia/7a712c305a2da7242483 to your computer and use it in GitHub Desktop.
Save KimSarabia/7a712c305a2da7242483 to your computer and use it in GitHub Desktop.
CH Challenge #10
function reverse(string) {
for (var i = string.length - 1, o = ''; i >= 0; o += string[i--]) { }
return o;
}
console.log(reverse("I love Coding House!"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment