In some scripts I see:

for i,v in pairs(table) do
--CODE
end

and in other scripts I see:

for i,v in ipairs(table) do
--CODE
end

Just a generic question, what's the difference between pairs and ipairs?

1 comment