1async function async1 () { 2 console.log('async1 start'); 3 await new Promise(resolve => { 4 console.log('promise1') 5 }) 6 console.log('async1 success'); 7 return 'async1 end' 8} 9console.log('srcipt start') 10async1().then(res => console.log(res)) 11console.log('srcipt end') 12