How do I get my fetch status code?

fetch(${baseUrl}api/user/login, { withCredentials: true, headers: myHeaders }) . then(function(response) { console. log(response. status); // Will show you the status if (!

For More Information Please Refer: https://stackoverflow.com/questions/54900971/cant-get-response-status-code-with-javascript-fetch