hard
Debug Async JavaScript
Identify and fix a common async/await error.
📝 提示内容
Analyze the following JavaScript code snippet that uses async/await. Identify why the code is not waiting for the promise to resolve before logging the result, and provide the corrected code block.