lua infinite

-- Step 1: Define a function named 'countUp' that takes a parameter 'n'
function countUp(n)
    -- Step 2: Print the current value of 'n'
    print(n)
    -- Step 3: Call the 'countUp' function recursively with the next value of 'n'
    countUp(n + 1)
end

-- Step 4: Call the 'countUp' function with an initial value of 1
countUp(1)