lua difference between pairs and ipairs
snippet in lua

lua difference between pairs and ipairs

user978

-- pairs() Returns Key-Value Pairs
-- ipairs() Returns Integer-Value Pairs