omori-Sakuya

2023年7月4日

学迭代器遇到的一个问题

摘要: 事情是这样的 function iter (arr,index) index = index + 1 if arr[index] then return arr[index],index end end a={1,2,3,5,4} for k,v in iter,{1,2,5,6,5,4},0 do 阅读全文

posted @ 2023-07-04 21:18 omori_Sakuya 阅读(8) 评论(0) 推荐(0) 编辑

导航