Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




 
recurse = ( depth = 0 ) ->
    try
        recurse depth + 1
    catch exception
        depth
 
console.log "Recursion depth on this system is #{ do recurse }"
 