retry mechanism polyfill for JS fetch API with delay between each retry
Problem Statement This question was asked to me for a Senior Frontend Engineer role for a leading Indian Tech Startup. Let’s say we’ve a function like getUsers which makes an API call and returns us a promise like following. The API call could be mad...




