// 不改动a,b函数,怎么让数字按顺序打印出来
function a() {
console.log(1)
b();
console.log(6)
}
function b () {
console.log(2)
c()
console.log(5)
}
function c() {
test()
console.log(4)
}
function test() {
return new Promise((resolve) => {
setTimeout(() => {
console.log(3)
resolve()
}, 3000)
})
}