Closed Nexum closed 4 years ago
This is necessary because the reject wouldnt interrupt execution, so in case of an undefined response later in the code JSON.parse(JSON.stringify will be called with undefined causing an uncaught exception.
This is necessary because the reject wouldnt interrupt execution, so in case of an undefined response later in the code JSON.parse(JSON.stringify will be called with undefined causing an uncaught exception.