lua returning and code example
Example: function return lua
function factorial(x)
if x == 1 then
return 1
end
return x * factorial(x-1)
end
function factorial(x)
if x == 1 then
return 1
end
return x * factorial(x-1)
end