2 hours ago
Like this:
Code:
function fn(...)
local args = {...}
for i, v in ipairs(args) do
log(i, v)
end
end
fn('a', 'b', 'c')