Cypherpath interview question

Describe recursion in a JS function.