async 申明這個fun是異步的,await 等待某個方法執行完後繼續執行接下來的代碼。
async somefun() {
do something...
await this.another();
//another執行完後開始執行
this.then();
}
async 申明這個fun是異步的,await 等待某個方法執行完後繼續執行接下來的代碼。
async somefun() {
do something...
await this.another();
//another執行完後開始執行
this.then();
}
基礎知識 ● 下列屬於 CPU 中算術邏輯單元的部件是(1)。 (1)A、程序計數器 B、加法器 C、指令寄存器 D、指令譯碼器 參考答案:(1)B ● 在 CPU 和主存之間設置
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com