Async/await was introduced in NodeJS 7.6 and is currently supported in all modern browsers. Async functions start with the keyword “async” before declaring the function name. Inside the function we can use await to fetch and return promises. We can even chain promises in a simple and efficient way.

3m read timeFrom haihuan-chen1.medium.com
Post cover image

Sort: