摘要: // 数组遍历方式 let arr = ["a", "b"]; //forEach arr.forEach((a, b) => { console.log(b, ":", a); }) //for of for (const el of arr) { console.log(el, " indexo 阅读全文
posted @ 2021-07-29 23:57 贾正直 阅读(135) 评论(0) 推荐(0)