async await arrow function with promise resolver code example Example: async arrow function const foo = async () => { // do something }