SOURCE

Promise.reject = function(reason) {
    return new Promise((resolve,reject)=> {
        reject(reason)
    })
}
console 命令行工具 X clear

                    
>
console