Syntax for an async arrow function
I can mark a JavaScript function as “async” (i.e., returning a promise) with the async keyword. Like this: async function foo() { // Do something } What is the equivalent syntax for arrow functions? 8 s 8 Async arrow functions look like this: const foo = async () => { // do something } Async … Read more