点击运行
array = {} for i= -2, 2 do array[i] = i *2 end for i = -2,2 do print(array[i]) end
运行结果 :
正在执行...