1、概览:async:函数await:操做符async
await必须在async函数中才能使用await后面能够是任意值,可是通常跟Promise对象一、Promise的resolve方法的值就是await值二、Promise的reject不会做为值返回,须要使用try-catch捕获ide