[Running] node "/Users/ivyone/44.js"
got long_time_value
[Done] exited with code=0in3.062 seconds
functiontakeLongTime(){returnnewPromise(resolve =>{setTimeout(()=>resolve("long_time_value"),3000);});}asyncfunctiontest(){const v =awaittakeLongTime();
console.log(v);}test();
[Running] node "/Users/ivyone/44.js"
long_time_value
[Done] exited with code=0in3.058 seconds