Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
i have an easy question, i don't understand why this works:
local fact
fact= function (n)
if n == 0 then return 1
else return n*fact(n-1)
end
end
print(fact(4))
and this one not:
local fact = function (n)
if n == 0 then return 1
else return n*fact(n-1)
end
end
print(fact(4))...