#My question
Let's say you have something that requires a function such as a callback or coroutines. Would you hypothetically be able to use the following codes?
local a = 0
game.OnClose:connect(
do
print(a)
end)
local c = coroutine.create(while wait(1) a = a+1 do)
I do know that I can test this out myself but I'd like if I had a place where I can refer too if I forget next time, and I'd also love an explanation too. Plus other people who stumble upon this question can see the answer so they don't have to ask the same question.
Thanks!

1 comment
The correct term is an "identifier" but close enough ;)