You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncfunctionf(){constpromise=newPromise((resolve,reject)=>{setTimeout(()=>resolve("done!"),1000)})constresult=awaitpromise;// wait till the promise resolves (*)alert(result)alert('end of function')}f();
To:
focus7eleven
面试公司:
今日头条
面试环节:
一面
问题:
谈谈对async/await的理解,以及内部原理
The text was updated successfully, but these errors were encountered: