lua table object code example Example: lua empty table for k,v in pairs(table) do table.remove(table, k) end