Line 3 把__index 指向自己(Account)初看有些混亂,既然a1 (Line 11) 已經設定metatable(Line7),那何不乾脆直接去metatable 找就好?不過Lua meta method ...
確定! 回上一頁