News

async function getStarWarsData() { try { const response = await fetch('https://swapi.dev/api/people/1/'); const data = await response.json(); console.log(data ...
I enjoy using and teaching JavaScript and I hope you will do so too ... we used a built-in function console.log(). We passed an argument as input data, and the function displays the output. We passed ...