for in 和 for of
摘要:
for in 和 for of 两个for循环都是用来 ”遍历“ 的 for in 示例 let arr = ["Math", "English", "History"]; console.log("for in <= example"); for (let arrItem in arr) { co 阅读全文
posted @ 2022-02-19 18:19 zhishiyv 阅读(53) 评论(0) 推荐(0) 编辑