摘要: for (let i = 0; i < 10; i++) { setTimeout(function () { console.log(i, 'hhhhhhhh'); }, 500); } for (var i = 0; i < 10; i++) { setTimeout(function () { 阅读全文
posted @ 2023-03-28 19:53 Running00 阅读(8) 评论(0) 推荐(0) 编辑
摘要: const links = document.getElementsByTagName('a'); 类数组 阅读全文
posted @ 2023-03-28 19:52 Running00 阅读(13) 评论(0) 推荐(0) 编辑