You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`The sum of ${x} and ${y} is ${x + y}`);
callback();
}, 2000);
}
addition(5, 10, display);
// Even after the DISPLAY function is executed first but it waits for the ADDITION function to get executed because of the callback argument that is passed in the ADDITION function