SOURCE

var  p =new Promise((r)=>r(100));
var a ; var b= {}; 
for (let i=0; i<10;i+=1){
   p.then(()=>{setTimeout(()=>{
       console.log("i:::",i)
   },200 * (Math.ramdom(0,1)*10+1))})
 }

console 命令行工具 X clear

                    
>
console