Module:Sandbox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Lua

CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules

This page is not a sandbox, instead, use Module:Sandbox/sandbox.

See also: Module:Test

Code

local p = {} --p stands for package

function p.table( frame )
	table1 = {1, 2}
	table2 = {3, table1}
	table2[2][3] = 4
	return table1[3]
end

return p