Refactor .then() to async/await

You learned about .then() earlier in this series. The same logic can usually be written more clearly with async/await.
The function getUserName uses .then() to return the name property of the resolved user. Rewrite it as an async function that uses await instead.
JavaScript
Console