Why console.log Shows 'Promise {<pending>}' Instead of Your Actual Value
That's not a broken await — it's JavaScript reporting exactly what the promise's state was the instant you logged it. Here's why the value isn't there yet, and how to actually wait for it.