摘要: 直接上代码: const res = []; function test1() { for(let i = 0; i<50000000; i++) { res.push(i) } if (res.length < 50000000) { // 是否已完成 setTimeout(test1, 0); 阅读全文
posted @ 2022-11-09 11:08 zaijinyang 阅读(188) 评论(0) 推荐(0) 编辑