setmetatable (table, metatable):此方法用于为一个表设置元表。 getmetatable(table):此方法用于获取表的元表对象。 设置元表的方法很简单,如下:
確定! 回上一頁