I am making a simple fetch call in my component, which looks like this
    var x = fetch(SOME_URL, SOME_POST_DATA)
             .then((response) => response.json())
             .then((responseJSON) => {return responseJSON});
    console.log(x);
The call executes successfully but the console prints a promise instead of data. What am I missing here?
 
     
     
    