Rewrite promises function into async function

后端 未结 0 1071
暖寄归人
暖寄归人 2020-12-13 18:22

I\'m trying to rewrite promises function into async function

While my promises work

function boxColor (time) {
return new Promise ((res, rej) => {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题