Lua 中的迭代器 Posted on 2017年5月30日2020年7月30日 by 逸飞 Lua中有两种for语句,最基本的是 for i = 1, 10 do print i end 还有一种是for in语句 for I in pairs(t) do print I end 及时获取更新,请关注公众号“爬虫技术学习(spider-learn)” About 逸飞 后端工程师