Science, asked by ViniJoshi8090, 1 year ago

What is difference between Promise & Callback in Javascript?

Answers

Answered by bhatttsawtii
0

A promise is a proxy for a value not necessarily known at its creation time. With promises, rather than an asynchronous call accepting a callback, it instead returns a promise. The calling code can then wait until that promise is fulfilled before executing the next step.

Similar questions