call back function use code example
Example: javascript callback function
const message = function() {
console.log("This message is shown after 3 seconds");
}
setTimeout(message, 3000);
const message = function() {
console.log("This message is shown after 3 seconds");
}
setTimeout(message, 3000);