Forskel mellem versioner af "Modul:Sandkasse/Poul G/dump"

m
ingen redigeringsopsummering
(Ny side: require("Modul:No globals") local function dump(x, mode) if x == nil then return "nil" elseif type(x) == "string" then return '"' .. x .. '"' elseif type(x) == "table" then l...)
 
m
elseif type(x) == "table" then
local buffer = {}
for k, v in pairs(argx) do
table.insert(buffer, "[" .. dump(k) .. "]=" .. dump(v))
end
3.578

redigeringer