function workThenCallback(mycallback) { work(); mycallback(); // Just use the name and () }
function exampleUse() { workThenCallback(function() { console.log('Done'); }); }
function workThenCallback(mycallback) { work(); mycallback(); // Just use the name and () }
function exampleUse() { workThenCallback(function() { console.log('Done'); }); }