SOURCE

let p = new Promise(function(resolve, reject){
    return setTimeout(function(){
        return [1,2,3]
    }, 1000)
})

p.then(function(response){
    console.log(response)
})
console 命令行工具 X clear

                    
>
console