Tag: callback

Javascript callbacks

What is a callback? A callback is a function to be executed after another function is executed. Sounds tongue-twisted? Normally if you want to call function do_b after function do_a the code looks something like