finally block for fetch code example
Example: axios fainally
.finally(function() {
// settled (fulfilled or rejected)
});
.finally(()=> {
// settled (fulfilled or rejected)
});
.finally(function() {
// settled (fulfilled or rejected)
});
.finally(()=> {
// settled (fulfilled or rejected)
});