You are not recognized as the original poster of this topic.
Please familiarise yourself with the rules and markup syntax before posting.
function recurse(f, x, n, i = 0){ if ( i < n ) { return f(recurse(f, x, n, i + 1)); } return x; }