Answer the question
In order to leave comments, you need to log in
Why does it display different promise results in Google Chrome and Firefox browsers?
Greetings! There was such a problem. In different browsers, after refreshing the page, it displays different promise statuses. Why is this happening?
Google Chrome
result: FireFox result:
Accordingly, I can't continue working in FF and have to switch to Chrome.
Answer the question
In order to leave comments, you need to log in
This is because chrome does not display the object in the state it was in at the time of the output, but in the state it is in now.
That is, both chrome and FF output a promise in the pending status, but then the promise is resolved, and chrome changes it in the console. And FF leaves it as it was.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question