[Understanding] _js JavaScript front end of async / await

async and await doing

Any of the names are meaningful, starting with the literal meaning to understand. async is "asynchronous" shorthand, and await can be considered async wait shorthand. So it should be well understood async used to declare a function is asynchronous, and await wait for an asynchronous method execution is completed.

Understanding of JavaScript async / await

Guess you like

Origin www.cnblogs.com/leiblog/p/11057896.html