A callback function is a function which is accessible by another function and invoked after the first function if that first function completed.

BY Best Interview Question ON 09 Dec 2020

Example

$("#button").click(function(){
    $("p.button").hide("slow", function(){
        alert("Front end Interview Questions and Answers");
    });
});