I get this function :
async function fetchData (name) { 
  let url = '/api/1?name=' + address; 
  let response = await fetch(url).then((data)); 
  let data = await response.json(); 
  return data.name; 
}  
console.log(fetchData('ABC'));
When I go to the console I see this :
Promise {<pending>}
[[Prototype]]: Promise
[[PromiseState]]: "fulfilled"
[[[PromiseResult]]: "Hello"
How can I just get the value of PromiseResult ? (Hello)
 
    