__index 的行為如下: 在table中不存在的key值被訪問時呼叫__index, 例如: value = tbl.undefined, 此時將呼叫__index(如果其存在, 否則返回nil).
確定! 回上一頁