async arrow function return a promise code example Example: async arrow function const foo = async () => { // do something }