1.Pairs返回三个值,next函数,table t,还有nil ,会遍历table中的所有键值对。(可以返回nil)
next函数原型为:next (table [, index]),技术手册里的介绍:
Allows a program to traverse all fields of a table. Its first argument is a table and its second argument is an index in this table. next returns the