最近在寫Lua發現pairs跟ipairs因為太像了,所以使用上可能會誤用。紀錄一下兩者的差異吧。 ... will iterate over all key–value pairs of table t.
確定! 回上一頁