how to store API data in local storage JavaScript and use it again or assign it to another variable

const data = async () => {
  const response = await fetch("https://jsonplaceholder.typicode.com/users");
  const data = await response.json();
  console.log(data);
};

I have been trying to access data here, and I have searched the net, and as a beginner, the answers I’m getting are too confusing, so please make it simple for me. Thank you.