local t={} for _, n in ipairs({"a","b"}) do t[n]=function(self) return n end end print(t.a({}),t.b({}))