Skip to content

Instantly share code, notes, and snippets.

@DFOXpro
Created December 6, 2014 19:19
Show Gist options
  • Save DFOXpro/f5c254926d4da9aacc2d to your computer and use it in GitHub Desktop.
Save DFOXpro/f5c254926d4da9aacc2d to your computer and use it in GitHub Desktop.
3 challenge
/*
* Author: Daniel Zorro @DFOXpro
* Licence: WTF-PL
*/
var main = function(value){
var i = 0;
var r = "";
while(i < value.length){
r+= value[value.length - (1+i)];
i++;
};
return r;
};
console.log(main("esfero trololo"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment