Answers for "response.json() promise pending"

0

response.json() promise pending

fetch('someurltoAJsonFile.json')
  .then(response => response.json())
  .then(data => {
    console.log(data)
  });
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language