将迭代数组的 for..of 循环转换为使用索引迭代数组的等效的 for 循环。