制作完成于2023年4月12日 使用Typecript 4.0
for (let tmp of nums) {
这个获得每个值
for (let i in nums) {
获得下标
of遍历数组里的值
in遍历索引
在for循环中才行