HubSpot Interview Question

how do you use callback functions?