async await in javascript

Async/await in JavaScript

Async/await is an extension of promise. We use async keyword with a function to represent that the function is asynchronous. The async function returns a promise. It is also possible to use await keyword inside a async function. Javascript async keyword: Syntax: name – name of function parameter- parameter that are passed Example: Output: Async function. …

Async/await in JavaScript Read More »