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
So far the best I think:
function reverse(s) { if (s.length===1) return s; return reverse(s.slice(1)) + s[0]; }