News

async function getStarWarsData() { try { const response = await fetch('https://swapi.dev/api/people/1/'); const data = await response.json(); console.log(data ...
I keep hitting a code pattern in javascript that I'm having trouble writing in a readable, non-ugly pattern. (FWIW, I'm just transitioning back to javascript after being away. I might be missing a ...