let 和 const123456var a= [];for (let i = 0; i < 10; i++) {a [ i] = function () {console.log(i);a[6J ();// 6 //每轮的i都是重新
2022-05-06