bitser/cases/metatable.lua

6 lines
169 B
Lua
Raw Normal View History

2020-12-26 13:22:57 +00:00
-- test metatables
local metatable = {__mode = 'k', foo={1,2,3,4,5,6,7,8,10,11,12}}
metatable.__index = metatable
return setmetatable({test=true}, metatable), 10000, 3