I want to use my fetched values in another function
I'm really new to JS. So until now I tried this.setState() and a return value of the function .
async fetchData() {
    const url = 'http://localhost:8080';
    const response = await fetch(url);
    const data = await response.json();
    // stringify JSON
    var myJSON = JSON.stringify(data);
    // parsing to JS object
    var jsonData = JSON.parse(myJSON);
 }
until now, I'm getting a Promise with the status "pending" . How do I get the actual value?
 
    