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