What is difference between Promise & Callback in Javascript?
Answers
Answered by
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
India Languages,
7 months ago
Math,
7 months ago
Hindi,
7 months ago
Science,
1 year ago
Physics,
1 year ago