Returns three values: the next (table [, index])
function, the table t
, and nil, so that the construction
for k,v in pairs(t) do _body_ end
will iterate over all key-value pairs of table t
.
See function next (table [, index])
for the caveats of modifying the table during its traversal.