摘要: function newCounter() local i = 0 return function() i = i + 1 return i end end c1 = newCounter() c2 = newCounter() print(c1()) print(c1()) print(c1()) print(c1()) pri... 阅读全文
posted @ 2017-08-22 13:35 hao.ma 阅读(173) 评论(0) 推荐(0) 编辑