1 2 3 4 5
x = {one = 1, two = 2, three = 3} for k, v in pairs(x) do print(k, ":", v) end
1 2 3
one : 1 three : 3 two : 2