Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What does for _, v in pairs() do mean and when to use it?

The question is quite self-explanatory, so. I know for i, v in pairs() and for i = x,x,x do but what does

for _, v in pairs() do

end

mean?

1 answer

✓ Accepted answer

_ and i are just names. _,v and i,v is the same.

2 comments

0

Ah, okay.

0

this answer isn't very constructive but ok

This discussion is preserved as it was. New answers, comments, and votes are closed.