- 今天看到一个有意思的for循环: for(;;){} let a = [1,2,3]; let index = 0; for(;;){ let val = a[index++]; console.log(val); if(val undefined) { break; } } for(;;) 是 Read More
posted @ 2024-05-12 17:51 古墩古墩 Views(215) Comments(0) Diggs(0) Edit