Co to jest Setimediate vs ClearImmediate

var immediateID = setImmediate(function);
// The below code displays the alert dialog immediately.
var immediateId = setImmediate(
    () => {    alert('Immediate Alert');
}
Helpatoz Production