mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-16 20:21:22 +08:00
doc: Update lua.md #957
This commit is contained in:
@ -763,7 +763,7 @@ table["sex"] = "boy"
|
|||||||
|
|
||||||
-- 获取 table 的长度
|
-- 获取 table 的长度
|
||||||
|
|
||||||
print(#table) -- 3
|
print(#table) -- 0
|
||||||
|
|
||||||
-- 如果想要删除一个 table,那么可以使用 nil 赋值
|
-- 如果想要删除一个 table,那么可以使用 nil 赋值
|
||||||
table = nil
|
table = nil
|
||||||
|
Reference in New Issue
Block a user