烦英俊

Results 1 comments of 烦英俊

思路很清晰,把setTimeout的第二个参数改为n ```js function print(n){ setTimeout(() => { console.log(n); },n, Math.floor(Math.random() * 1000)); } for(var i = 0; i < 100; i++){ print(i); } ```