A Promise is a value which may be available in future or not. A Callback is a function which we call inside another function. Normally callback runs after the parent function completes its operation.
A Promise is a value which may be available in future or not. A Callback is a function which we call inside another function. Normally callback runs after the parent function completes its operation.