报告对数组使用的
for
索引循环。 建议将其替换为
for..of
循环。
for..of
循环 (在 ECMAScript 6 中引入) 对
iterable
对象进行迭代。