I have a scenario where I want to call the function d() after the execution of three functions a(), b(), c(), These three functions executes parallely.
setTimeout(function a(){ alert("Hello A"); a()}, 3000);
setTimeout(function b(){ alert("Hello B"); b()}, 3000);
setTimeout(function c(){ alert("Hello C"); c()}, 3000);
After getting all the functions executed I want the below function d() to get executed
function d(){
console.log('hello D')
}
Any help would be appreciated.