JS Async -Await, Promises, and Callback
Callback:
A Callback is a function that is passed into another function as an argument.
which means that a callback is a function executed in another function.
let's see a basic example:
function sumOfTwoNumbers(num1,num2){
return num1+num2
}
fun...
shivaninext.hashnode.dev2 min read