摘要:
public static int testBasic(){ int i = 1; try{ i++; System.out.println("try block, i = "+i); }catch(Exception e){ i++; System.out.println("catch block 阅读全文
摘要:
await后面接一个会return new promise的函数并执行它 await只能放在async函数里 使用async和await获取成功的结果 function 摇色子(){ return new Promise((resolve, reject)=>{ let sino = parseIn 阅读全文