DEV Community

Discussion on: Array.map() + async/await

Collapse
jeffml profile image
Jeff Lowery

Note: The return value of async functions is always a Promise

I guess this is something I hadn't fully grokked. You're not returning a Promise in the async function, yet it returns a Promise!