Use recursion to create a range of numbers example

it does, but that function was called by an other function of which the execution stayed suspended waiting for the returned value of the called function