SOURCE

var test=new Promise((resolve,reject)=>function(){
  var a=0;
  setTimeout(()=>{
console.log('time went by')},2000);
})
console 命令行工具 X clear

                    
>
console