Codesmith interview question

Recursion, closure, other JS fundamentals