async function getStarWarsData() { try { const response = await fetch('https://swapi.dev/api/people/1/'); const data = await response.json(); console.log(data ...
If you’re returning information from a then or catch handler, it will always be wrapped in a promise, if it isn’t a promise already. So, you never need to write code like this: If you are unsure if ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results
Feedback