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