SOURCE

new Promise((resolve,reject)=>{
  resolve(1)
}).then(val=>{
  console.log(val)
})
console 命令行工具 X clear

                    
>
console