function apply(steps, fn, number) { for (let i=0; i < steps; i++) { var result = fn(number); ???} return result;