SOURCE

function getInfo(){
    setTimeout(()=>{
        console.log('setTimeout')
    })
}

function promise(){
    return new Promise((resove, reject)=>{
        console.log('promise')
        resove()
    }).then(()=>{
        console.log('promist-then')
    })
}

function common(){
    console.log('common')
}

console.log('1')

getInfo()
promise()
promise()
common()
console 命令行工具 X clear

                    
>
console