I\'m a pretty experienced frontend engineer with a weak CS background. I\'m trying to get my head around the concept of recursion. Most of the examples and purported explana
function reverse(str) { if(str.charAt(0) === ''){ return ""; } return str.charAt(str.length -1) + reverse(str.substring(0,str.length-1)); }