JSFiddle - React, Tailwind, and code Playground

JavaScript

async function fetchUsers(url) {
  const response = await fetch(url);
  console.log(response);
}

fetchUsers('https://jsonplaceholder.typicode.com/users');